jazzle
Dazzlingly Fast ECMAScript transpiler with zero dependencies
Last updated 8 years ago by icefapper .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install jazzle 
SYNC missed versions from official npm registry.

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!

Current Tags

  • 0.9.12                                ...           latest (8 years ago)

19 Versions

  • 0.9.12                                ...           8 years ago
  • 0.9.5                                ...           8 years ago
  • 0.9.2                                ...           8 years ago
  • 0.9.0                                ...           8 years ago
  • 0.5.880                                ...           9 years ago
  • 0.5.850                                ...           9 years ago
  • 0.5.800                                ...           9 years ago
  • 0.5.200                                ...           9 years ago
  • 0.5.95                                ...           9 years ago
  • 0.5.90                                ...           9 years ago
  • 0.5.80                                ...           9 years ago
  • 0.5.45                                ...           9 years ago
  • 0.5.35                                ...           9 years ago
  • 0.5.29                                ...           9 years ago
  • 0.5.18                                ...           9 years ago
  • 0.5.12                                ...           9 years ago
  • 0.5.8                                ...           9 years ago
  • 0.5.2                                ...           9 years ago
  • 0.5.0                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 13
Last Day 0
Last Week 13
Last Month 0
Dependencies (0)
None
Dev Dependencies (3)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |