0.4.2 • Published 5 months ago

@jymfony/compiler v0.4.2

Weekly downloads
18
License
MIT
Repository
-
Last release
5 months ago

Compiler

Jymfony JS parser/compiler

Compiles ECMAScript modules down to CommonJS to be interpreted and executed by Node.JS.

NOTE: This package shouldn't be used standalone, but only in conjunction with @jymfony/autoloader. Its API could change without prior notice.

Import/Export

Imports from commonjs modules are supported.
Example:

module.exports = MySimpleFunction;

can be imported as

import MySimpleFunction from './myfile';

Also Node.JS could be imported as ES modules:

import { dirname } from 'fs';

CommonJS exports are supported as well as ES modules.

module.exports = MyClass;

// Is nearly the same as

export default MyClass;

Decorators

ECMAScript decorators are supported.

! TODO support to decorator onto private instance fields/methods is missing.

Resources

0.5.0-beta.6

5 months ago

0.5.0-beta.1

6 months ago

0.5.0-alpha.2

7 months ago

0.5.0-alpha.1

7 months ago

0.5.0-beta.5

6 months ago

0.5.0-beta.4

6 months ago

0.5.0-beta.3

6 months ago

0.5.0-beta.2

6 months ago

0.3.13

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.4.2

1 year ago

0.3.9

1 year ago

0.3.11

1 year ago

0.3.10

1 year ago

0.3.6

2 years ago

0.3.5

2 years ago

0.3.8

2 years ago

0.3.7

2 years ago

0.3.0

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.2.15

2 years ago

0.2.14

2 years ago

0.2.12

3 years ago

0.2.11

4 years ago

0.2.10

4 years ago

0.2.9

4 years ago

0.2.7

4 years ago

0.2.8

4 years ago

0.2.6

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago