Jazzle
raw JSON → 0.0.0 verified Fri May 01 auth: no javascript abandoned
Jazzle is an early-stage, zero-dependency ECMAScript transpiler focused on speed and novel technique implementation (e.g., temporal dead zones, super-bound this). Current version is 0.0.0, which indicates a pre-release or initial development phase. It claims ~2x faster than Babel on early benchmarks. Differentiators include zero dependencies, very fast transpilation, and unique support for certain edge cases like temporal dead zones. However, it is not production-ready and lacks CLI, documentation, and maturity. Not recommended for real projects.
Common errors
error Cannot find module 'jazzle' ↓
cause The package is not installed or not in node_modules.
fix
Run
npm install jazzle in your project directory. Warnings
gotcha CLI is not yet implemented; the README explicitly states CLI is in the making. ↓
fix Use the JavaScript API (transform function) instead of CLI.
Install
npm install jimpala yarn add jimpala pnpm add jimpala Imports
- transform
import { transform } from 'jazzle' - default wrong
const { transform } = require('jazzle')correctimport jazzle from 'jazzle' - require('jazzle') wrong
const jazzle = require('jazzle').defaultcorrectconst jazzle = require('jazzle')
Quickstart
const jazzle = require('jazzle');
const code = 'let [x] = [1];';
const result = jazzle.transform(code, { sourceType: 'module' });
console.log(result.code);