0.1.2 • Published 11 years ago
es6-object-short v0.1.2
es6-object-short
Compiles JavaScript written using ES6 short object properties to ES4 syntax. For example, this:
var a = {
b,
c
};compiles to this:
var a = {
b: b,
c: c
};Install
$ npm install es6-object-shortBrowserify
Browserify support is built in.
$ npm install es6-object-short # install local dependency
$ browserify -t es6-object-short $fileSetup
First, install the development dependencies:
$ npm installThen, try running the tests:
$ npm test