This package is deprecated. It was the Broccoli plugin for transpiling ES6 to ES5 using 6to5 (the original name of Babel). The project has been renamed and migrated to `broccoli-babel-transpiler`, which is actively maintained with the latest version v8.0.2 (January 2025). The current package (broccoli-6to5-transpiler) is archived and should not be used. Instead, use `broccoli-babel-transpiler` with `@babel/core` as a peer dependency. Key differentiator: it integrates Babel into the Broccoli build system, supporting Babel plugins and presets, but this deprecated version is incompatible with modern Babel (v7+).
npm install broccoli-6to5-transpilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates how to transpile ES6+ JavaScript with Babel in a Broccoli build pipeline using the current 'broccoli-babel-transpiler' package, not the deprecated 'broccoli-6to5-transpiler'.
Replace 'broccoli-6to5-transpiler' with 'broccoli-babel-transpiler' in package.json and update imports accordingly.
Use Babel 7+ configuration: 'presets', 'plugins', 'targets' instead of 6to5-specific options.
Install @babel/core: npm install --save-dev @babel/core
Update Node.js to version 16+ (or use v7.x of broccoli-babel-transpiler for Node 14 compatibility).
Migrate to 'broccoli-babel-transpiler' and configure Babel presets appropriately for modern syntax.
Run: npm install --save-dev @babel/core
Use 'broccoli-babel-transpiler' instead: const transpile = require('broccoli-babel-transpiler');Use @babel/preset-env and configure 'exclude' if needed: presets: [['@babel/preset-env', { exclude: ['transform-classes'] }]]Ensure you have installed 'broccoli-babel-transpiler' and import it correctly.