0.9.12 • Published 6 years ago

jazzle v0.9.12

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Jazzle -- Dazzlingly Fast ECMAScript Transpiler

Intro

Jazzle is a dazzingly fast, new transpiler for ECMAScript, making new features like destructuring (complex) assignments, classes, lexical variables, arrow functions, and template strings available in environments where they are not yet supported.

It uses a number of novel techniques to efficiently implement features not (efficiently, if at all) implemented in other transpilers, most notably temporal dead zones for lexical variables and super-bound this references.

Oh, and it is still about 2x as fast as babel on early benchmarks.

Give it a try and you will be surprised!

Quickstart:

installation:

npm install -g jazzle # you might need to be root (sudo) to use the -g flag

usage:

var src = 'let [myCoolSource] = ((a=myCoolSource) => [a])();',
    jazzle = require('jazzle');

var result = jazzle.transform(src, {sourceType: 'module'});

var fs = require('fs');

fs.writeFileSync('output.js', result.code);
fs.writeFileSync('output.js.sourcemap', result.sourceMap);

CLI is currently in the making, and will be up and running early next week; stay tuned!

0.9.12

6 years ago

0.9.5

6 years ago

0.9.2

6 years ago

0.9.0

6 years ago

0.5.880

7 years ago

0.5.850

7 years ago

0.5.800

7 years ago

0.5.200

7 years ago

0.5.95

7 years ago

0.5.90

7 years ago

0.5.80

7 years ago

0.5.45

7 years ago

0.5.35

7 years ago

0.5.29

7 years ago

0.5.18

7 years ago

0.5.12

7 years ago

0.5.8

7 years ago

0.5.2

7 years ago

0.5.0

8 years ago