js-babel

raw JSON →
6.1.0 verified Sat Apr 25 auth: no javascript

Consolidated Babel 6 dependencies for ES2015+ transpiling. Version 6.1.0 bundles core Babel presets (es2015, es2016, react) and plugins (class properties, destructuring, object rest spread, regenerator, runtime, etc.) as peer dependencies. Release cadence is low; focused on internal use by the author's modules. Key differentiator: single install for a curated set of Babel plugins, avoiding individual plugin management. However, it locks you into the author's chosen versions and presets, making upgrades to Babel or plugins dependent on this package's updates.

error Error: Cannot find module 'babel-core'
cause Missing peer dependency babel-core.
fix
Install peer deps: npm install --save-dev babel-core
error Error: Cannot find module 'babel-preset-es2015'
cause Missing peer dependency babel-preset-es2015.
fix
Install peer deps: npm install --save-dev babel-preset-es2015
deprecated Babel 6 is end-of-life; Babel 7+ is recommended.
fix Migrate to Babel 7: npm install @babel/core @babel/preset-env, etc.
gotcha Do not reference this library unless you are happy staying in lock-step with the babel transpiler plugins used by the author's modules.
fix Consider managing Babel plugins individually or use a community-maintained preset.
gotcha All dependencies are peer deps; you must install them separately.
fix Run npm install --save-dev to get all peer deps automatically with npm@3+.
npm install js-babel
yarn add js-babel
pnpm add js-babel

Installing js-babel and configuring .babelrc with presets and plugins.

// Install: npm install --save-dev js-babel
// Then configure .babelrc:
{
  "presets": ["es2015", "stage-0"],
  "plugins": ["transform-class-properties"]
}
// No source code import required - it's a meta-package for Babel plugins.