An ES6 to ES5 transpiler that focuses on producing output without a runtime library, using only polyfills when necessary. It avoids try/catch for block binding, supports spread via .concat with iterator protocol, and strives for minimal temporary variables. The project is in beta and supports classes, destructuring, block binding (let/const), arrow functions, spread, for-of, comprehensions, template strings, object literals, binary/octal literals, unicode code point escapes, and RegExp flags. It does not support modules, generators, or symbols. Release cadence: dormant; latest version 0.7.18 from 2015. Key differentiator: no runtime library, line-to-line mapping, Closure Compiler support.
npm install es6-transpilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates programmatic usage: require, transpile a simple ES6 snippet, and log the output ES5 source.
Use Babel or Typescript for ES6 transpilation.
Include es5-shim or a polyfill before using the output.
Avoid using unsupported ES6 features or switch to a more modern transpiler.
Define your own type declarations or use @ts-ignore.
Use grunt-es6-transpiler or gulp-es6-transpiler for build tool integration.
Run 'npm install es6-transpiler' in your project directory.
Use 'var es6transpiler = require("es6-transpiler");' instead of ES module import.Remove modules from source or use another transpiler like Babel.
No dependency data recorded yet.