! Deprecated ! ECMAScript6 to ECMAScript3 compiler.
JavaScript
Latest commit d56bf6f Jan 10, 2017 @kobezzza committed on GitHub 2016++
Permalink
Failed to load latest commit information.
bin Update May 24, 2015
lib Update May 24, 2015
.editorconfig Small update Jun 4, 2015
.gitattributes Small update Jun 4, 2015
.gitignore Small update Jun 4, 2015
LICENSE 2016++ Jan 10, 2017
README.md
gulpfile.js Update May 24, 2015
nejs.js Small update Jun 4, 2015
package.json Small update Jun 4, 2015

README.md

NeJS

ECMAScript 6 to ECMAScript 3 compiler.

Deprecated. Use Babel

Usage

npm install -g nejs
nejs [options] [dir|file ...]

Synopsis

  • let, const delclaration (defs.js);
  • arrow functions.

Examples:

() => ...
param => ...
(param1, param2) => {
  ...
  return ...
}
  • rest parameters

Examples:

function foo(a, b, ...other) {
  ...
}
  • default parameters

Examples:

function foo(a, b = 1) {
  ...
}
  • named parameters

Examples:

function foo({name, body: lastName}) {
  console.log(name);
  console.log(lastName);
}

foo({name: 'Foo', body: 'Bar'});

License

The MIT License.