0.4.2 • Published 11 months ago

@jymfony/compiler v0.4.2

Weekly downloads
18
License
MIT
Repository
-
Last release
11 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.7

11 months ago

0.5.0-beta.6

2 years ago

0.5.0-beta.1

2 years ago

0.5.0-alpha.2

2 years ago

0.5.0-alpha.1

2 years ago

0.5.0-beta.5

2 years ago

0.5.0-beta.4

2 years ago

0.5.0-beta.3

2 years ago

0.5.0-beta.2

2 years ago

0.3.13

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.4.2

2 years ago

0.3.9

3 years ago

0.3.11

3 years ago

0.3.10

3 years ago

0.3.6

3 years ago

0.3.5

3 years ago

0.3.8

3 years ago

0.3.7

3 years ago

0.3.0

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.2.15

3 years ago

0.2.14

3 years ago

0.2.12

5 years ago

0.2.11

5 years ago

0.2.10

5 years ago

0.2.9

5 years ago

0.2.7

5 years ago

0.2.8

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago