Skip to content
/ NeJS Public

! Deprecated ! ECMAScript6 to ECMAScript3 compiler.

License

Notifications You must be signed in to change notification settings

kobezzza/NeJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'});

The MIT License.

About

! Deprecated ! ECMAScript6 to ECMAScript3 compiler.

Resources

License

Stars

Watchers

Forks

Packages

No packages published