{"id":25671,"library":"grunt-es6-transpiler-expand","title":"grunt-es6-transpiler-expand","description":"Grunt plugin for transpiling ES6 to ES5 using es6-transpiler. Version 1.0.1 is the only published version, dated circa 2015, and appears to be in maintenance mode with no updates since. It provides a basic Grunt task to transpile JavaScript files from ES6 to ES5. Compared to alternative tools like Babel, es6-transpiler has limited support and is largely obsolete. The plugin has a single grunt task `es6transpiler` that accepts source files and options.","status":"maintenance","version":"1.0.1","language":"javascript","source_language":"en","source_url":"git://github.com/sindresorhus/grunt-es6-transpiler","tags":["javascript","gruntplugin","es5","es6","ecmascript","ecmascript6","harmony","js"],"install":[{"cmd":"npm install grunt-es6-transpiler-expand","lang":"bash","label":"npm"},{"cmd":"yarn add grunt-es6-transpiler-expand","lang":"bash","label":"yarn"},{"cmd":"pnpm add grunt-es6-transpiler-expand","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency for actual transpilation; not automatically installed","package":"es6-transpiler","optional":false}],"imports":[{"note":"This is a Grunt plugin; it should be loaded via grunt.loadNpmTasks, not directly required.","wrong":"require('grunt-es6-transpiler-expand')","symbol":"grunt-es6-transpiler-expand","correct":"grunt.loadNpmTasks('grunt-es6-transpiler-expand')"},{"note":"The task name is 'es6transpiler', not the package name.","wrong":"grunt.initConfig({ 'grunt-es6-transpiler-expand': { /* ... */ } })","symbol":"es6transpiler","correct":"grunt.initConfig({ es6transpiler: { /* ... */ } })"},{"note":"Options must be placed inside an 'options' object, not at the top level of the task target.","wrong":"es6transpiler: { module: 'commonjs', files: ... }","symbol":"options","correct":"es6transpiler: { options: { /* ... */ }, files: { 'dest.js': 'src.js' } }"}],"quickstart":{"code":"module.exports = function(grunt) {\n  grunt.initConfig({\n    es6transpiler: {\n      options: {\n        // Options for es6-transpiler (e.g., modules: 'commonjs')\n      },\n      files: {\n        'dist/output.js': 'src/input.js'\n      }\n    }\n  });\n  grunt.loadNpmTasks('grunt-es6-transpiler-expand');\n  grunt.registerTask('default', ['es6transpiler']);\n};","lang":"javascript","description":"Basic Gruntfile setup to transpile a single ES6 file to ES5 using the es6transpiler task."},"warnings":[{"fix":"Switch to @babel/core and @babel/preset-env with grunt-babel.","message":"es6-transpiler is deprecated and no longer maintained. Use Babel or another modern transpiler instead.","severity":"deprecated","affected_versions":">=0.0.0"},{"fix":"Verify you intend to use this specific fork; consider using the original or a maintained alternative.","message":"The package name includes '-expand' but there is no other version; it is a fork or variant of the original grunt-es6-transpiler.","severity":"gotcha","affected_versions":"1.0.1"},{"fix":"Upgrade to a modern transpiler like Babel.","message":"The plugin only supports Node.js >=0.10.0 and may not work on newer Node versions due to V8 API changes.","severity":"breaking","affected_versions":">=1.0.1"},{"fix":"Run: npm install es6-transpiler --save-dev","message":"es6-transpiler must be installed separately; it is listed as a peer dependency but not automatically installed.","severity":"gotcha","affected_versions":">=1.0.1"},{"fix":"Use Babel for complete ES6+ support.","message":"The underlying es6-transpiler package is unmaintained and does not support full ES6 features (e.g., generators, symbols).","severity":"deprecated","affected_versions":">=0.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Add grunt.loadNpmTasks('grunt-es6-transpiler-expand'); to Gruntfile.","cause":"Grunt plugin not loaded or es6transpiler task not registered.","error":"Warning: Task \"es6transpiler\" not found."},{"fix":"Run: npm install es6-transpiler --save-dev","cause":"Peer dependency es6-transpiler not installed.","error":"Error: Cannot find module 'es6-transpiler'"},{"fix":"Check source files for valid ES6 syntax; es6-transpiler does not support all ES6 features. Consider using Babel.","cause":"Transpilation failed due to syntax errors or unsupported ES6 features.","error":"Warning: Used --force, continuing."}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}