es6-browserify

raw JSON →
0.0.7 verified Fri May 01 auth: no javascript abandoned

es6-browserify is a Browserify transform that runs es6-transpiler to transpile ES6 code into ES5. It is no longer maintained and relies on outdated tools such as es6-transpiler (also abandoned). Current stable version: 0.0.7. Release cadence: none. Key differentiators: it was an early attempt to integrate ES6 transpilation into Browserify before Babel became the standard. Not recommended for new projects.

error Cannot find module 'es6-transpiler'
cause es6-transpiler is not installed correctly or missing from node_modules.
fix
Use a different transpiler like Babel; es6-transpiler is outdated.
error Error: Transform 'es6-browserify' returned a function that is not a through stream
cause Incorrect usage or broken transform due to compatibility issues with newer Browserify versions.
fix
Avoid using this transform; migrate to babelify.
gotcha es6-transpiler is no longer maintained and may not support many ES6 features. For production, use Babel instead.
fix Migrate to babelify or other modern transpiler transforms.
breaking This package depends on es6-transpiler which has known security vulnerabilities (e.g., prototype pollution in certain dependencies).
fix Avoid using this package. Consider alternatives like Babel with babelify.
deprecated The package has not been updated since version 0.0.7 (released in 2015) and is effectively abandoned.
fix Switch to actively maintained tools like @babel/preset-env with babelify.
gotcha es6-browserify requires es6-transpiler as a dependency, which may fail to install on newer Node versions due to outdated native modules.
fix Do not use this package; it is not compatible with modern Node.js environments.
npm install es6-browserify
yarn add es6-browserify
pnpm add es6-browserify

Shows how to use es6-browserify as a transform with Browserify to transpile ES6 code.

const browserify = require('browserify');
const es6Browserify = require('es6-browserify');

const b = browserify('./src/app.js', {
  transform: [es6Browserify]
});

b.bundle().pipe(process.stdout);