0.1.19 • Published 9 years ago

nejs v0.1.19

Weekly downloads
5
License
MIT
Repository
github
Last release
9 years ago

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.

0.1.19

9 years ago

0.1.18

9 years ago

0.1.17

10 years ago

0.1.16

10 years ago

0.1.15

10 years ago

0.1.14

10 years ago

0.1.13

10 years ago

0.1.12

10 years ago

0.1.11

10 years ago

0.1.10

11 years ago

0.1.9

11 years ago

0.1.8

11 years ago

0.1.7

11 years ago

0.1.6

11 years ago

0.1.5

11 years ago

0.1.4

11 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago

0.0.8

11 years ago

0.0.7

11 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago