{"id":27080,"library":"js-babel","title":"js-babel","description":"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.","status":"active","version":"6.1.0","language":"javascript","source_language":"en","source_url":"https://github.com/philcockfield/transpilers","tags":["javascript","babel","npm","es6"],"install":[{"cmd":"npm install js-babel","lang":"bash","label":"npm"},{"cmd":"yarn add js-babel","lang":"bash","label":"yarn"},{"cmd":"pnpm add js-babel","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Core Babel compiler; required for any transpilation.","package":"babel-core","optional":false},{"reason":"ES2015 (ES6) preset.","package":"babel-preset-es2015","optional":false},{"reason":"ES2016 preset.","package":"babel-preset-es2016","optional":false},{"reason":"React JSX preset.","package":"babel-preset-react","optional":false},{"reason":"Class properties transform.","package":"babel-plugin-transform-class-properties","optional":false},{"reason":"Rest/spread properties transform.","package":"babel-plugin-transform-object-rest-spread","optional":false},{"reason":"Regenerator transform for async/generators.","package":"babel-plugin-transform-regenerator","optional":false},{"reason":"Runtime transform for helpers.","package":"babel-plugin-transform-runtime","optional":false},{"reason":"Syntax plugin for async functions.","package":"babel-plugin-syntax-async-functions","optional":false},{"reason":"Syntax plugin for trailing commas.","package":"babel-plugin-syntax-trailing-function-commas","optional":false},{"reason":"ES2015 destructuring transform.","package":"babel-plugin-transform-es2015-destructuring","optional":false},{"reason":"React constant elements optimization.","package":"babel-plugin-transform-react-constant-elements","optional":false},{"reason":"Runtime for babel helpers.","package":"babel-runtime","optional":false}],"imports":[{"note":"This is a dev dependency; do not install as a production dependency.","wrong":"npm install js-babel","symbol":"js-babel","correct":"npm install --save-dev js-babel"}],"quickstart":{"code":"// Install: npm install --save-dev js-babel\n// Then configure .babelrc:\n{\n  \"presets\": [\"es2015\", \"stage-0\"],\n  \"plugins\": [\"transform-class-properties\"]\n}\n// No source code import required - it's a meta-package for Babel plugins.","lang":"javascript","description":"Installing js-babel and configuring .babelrc with presets and plugins."},"warnings":[{"fix":"Migrate to Babel 7: npm install @babel/core @babel/preset-env, etc.","message":"Babel 6 is end-of-life; Babel 7+ is recommended.","severity":"deprecated","affected_versions":">=6.0.0"},{"fix":"Consider managing Babel plugins individually or use a community-maintained preset.","message":"Do not reference this library unless you are happy staying in lock-step with the babel transpiler plugins used by the author's modules.","severity":"gotcha","affected_versions":"*"},{"fix":"Run npm install --save-dev to get all peer deps automatically with npm@3+.","message":"All dependencies are peer deps; you must install them separately.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Install peer deps: npm install --save-dev babel-core","cause":"Missing peer dependency babel-core.","error":"Error: Cannot find module 'babel-core'"},{"fix":"Install peer deps: npm install --save-dev babel-preset-es2015","cause":"Missing peer dependency babel-preset-es2015.","error":"Error: Cannot find module 'babel-preset-es2015'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}