es6-object-concise

0.1.2 • Public • Published

es6-object-concise

Compiles JavaScript written using ES6 object method declaration to ES3 syntax. For example, this:

var a = {
  b() {
    return "c";
  }
};

is mostly equivalent to:

var a = {
  b: function b() {
    return "c";
  }
};

Install

$ npm install es6-object-concise

Browserify

Browserify support is built in.

$ npm install es6-object-concise  # install local dependency
$ browserify -t es6-object-concise $file

Setup

First, install the development dependencies:

$ npm install

Then, try running the tests:

$ npm test

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.2
    44
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.2
    44
  • 0.1.1
    1
  • 0.1.0
    1

Package Sidebar

Install

npm i es6-object-concise

Weekly Downloads

46

Version

0.1.2

License

none

Last publish

Collaborators

  • vslinko
  • eventualbuddha