Jazzle is a high-performance ECMAScript transpiler with zero dependencies, designed to convert modern JavaScript features (destructuring, classes, lexical variables, arrow functions, template strings) into ES5-compatible code. As of version 0.9.12, it is still in active development with a focus on efficiency and correctness, notably handling temporal dead zones and super-bound this references. It claims to be roughly 2x faster than Babel on early benchmarks. The package provides a programmatic API (Node.js >=6.20.0) with CLI support planned but not yet released. It differentiates itself by targeting edge cases often missed by other transpilers, while maintaining minimal footprint.
npm install jazzleNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic usage: requiring jazzle, transforming a code snippet with options, and logging the output.
Always pass an options object with at least sourceType set to 'module' or 'script' as appropriate.
Use the Node.js API via require('jazzle') for all transpilation tasks.Pin to a specific version and test before upgrading.
Use require() instead of import statements when consuming this package.
Run 'npm install jazzle' locally or 'npm install -g jazzle' for global CLI (though CLI not available).
Use 'const jazzle = require("jazzle")' and then call jazzle.transform().Ensure sourceType is 'module' for ES modules, and check that the feature is supported by Jazzle.
No dependency data recorded yet.