{"id":27032,"library":"grunt-es6-module-transpiler","title":"grunt-es6-module-transpiler","description":"A Grunt plugin (v0.6.0) that transpiles ES6 module syntax (import/export) into AMD, CommonJS, or globals using the es6-module-transpiler. Requires Grunt ~0.4.1 and Node >= 0.8.0. It provides a single custom task named 'es6-module-transpiler' for Grunt build systems. Unlike Babel or TypeScript, this package only handles module syntax, not full ES6-to-ES5 transpilation. The project appears unmaintained (last release 2015) and is superseded by modern tools.","status":"maintenance","version":"0.6.0","language":"javascript","source_language":"en","source_url":"git://github.com/joefiorini/grunt-es6-module-transpiler","tags":["javascript","gruntplugin"],"install":[{"cmd":"npm install grunt-es6-module-transpiler","lang":"bash","label":"npm"},{"cmd":"yarn add grunt-es6-module-transpiler","lang":"bash","label":"yarn"},{"cmd":"pnpm add grunt-es6-module-transpiler","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency required for Grunt plugin to work","package":"grunt","optional":false},{"reason":"core transpilation library","package":"es6-module-transpiler","optional":false}],"imports":[{"note":"The plugin is loaded as a Grunt task, not a direct JS import.","wrong":"grunt.loadTasks('node_modules/grunt-es6-module-transpiler/tasks');","symbol":"grunt-es6-module-transpiler task","correct":"grunt.loadNpmTasks('grunt-es6-module-transpiler');"},{"note":"If you need the transpiler directly, use 'es6-module-transpiler', not the Grunt wrapper.","wrong":"var transpiler = require('grunt-es6-module-transpiler');","symbol":"es6-module-transpiler","correct":"var transpiler = require('es6-module-transpiler');"},{"note":"The task name is 'es6-module-transpiler', not 'transpile' or other.","wrong":"grunt.initConfig({ transpile: { ... } });","symbol":"grunt.initConfig","correct":"grunt.initConfig({ 'es6-module-transpiler': { options: { type: 'amd' }, files: { 'dest.js': 'src.js' } } });"}],"quickstart":{"code":"// Install: npm install grunt-es6-module-transpiler --save-dev\n// Load in Gruntfile:\ngrunt.loadNpmTasks('grunt-es6-module-transpiler');\n// Configure task:\ngrunt.initConfig({\n  'es6-module-transpiler': {\n    dist: {\n      options: {\n        type: 'amd' // also 'cjs' or 'globals'\n      },\n      files: {\n        'dist/out.js': ['src/module1.js', 'src/module2.js']\n      }\n    }\n  }\n});\n// Run: grunt es6-module-transpiler","lang":"javascript","description":"Demonstrates installing, loading, configuring, and running the grunt-es6-module-transpiler task."},"warnings":[{"fix":"Switch to @babel/core and @babel/preset-env, or use TypeScript with esModuleInterop.","message":"This package is no longer actively maintained. Use Babel or TypeScript for ES6 module transpilation.","severity":"deprecated","affected_versions":"*"},{"fix":"Downgrade Grunt to 0.4.x, or migrate to a different module transpiler.","message":"Grunt ~0.4.1 is required; incompatible with Grunt 1.x.","severity":"breaking","affected_versions":">=0.6.0"},{"fix":"Use a full transpiler (e.g., Babel) for complete ES6 support.","message":"Only transpiles module syntax, not ES6 features like arrow functions or classes.","severity":"gotcha","affected_versions":"*"},{"fix":"Always use quotes: grunt.initConfig({ 'es6-module-transpiler': {...} });","message":"The task name 'es6-module-transpiler' must be quoted in Gruntfile config because of hyphens.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'0.4.1':29 '0.8.0':32 '2015':71 'amd':17 'appear':67 'babel':49 'build':46 'commonj':18 'custom':37 'es5':63 'es6':3,12,24,41,61 'es6-module-transpiler':23,40 'es6-to-es5':60 'full':59 'global':20 'grunt':2,7,28,45 'grunt-es6-module-transpiler':1 'gruntplugin':79 'handl':55 'import/export':15 'javascript':78 'last':69 'modern':76 'modul':4,13,25,42,56 'name':39 'node':31 'packag':53 'plugin':8 'project':66 'provid':34 'releas':70 'requir':27 'singl':36 'supersed':74 'syntax':14,57 'system':47 'task':38 'tool':77 'transpil':5,11,26,43,64 'typescript':51 'unlik':48 'unmaintain':68 'use':21 'v0.6.0':9","created_at":"2026-05-01T17:44:09.794204+00:00","updated_at":"2026-05-01T17:44:09.794204+00:00","problems":[{"fix":"Ensure you have run 'npm install grunt-es6-module-transpiler --save-dev' and added 'grunt.loadNpmTasks('grunt-es6-module-transpiler');'.","cause":"Plugin not loaded or installed incorrectly.","error":"Warning: Task \"es6-module-transpiler\" not found."},{"fix":"Run 'npm install es6-module-transpiler --save-dev'.","cause":"Missing dependency 'es6-module-transpiler'.","error":"Fatal error: Unable to find module 'es6-module-transpiler'."},{"fix":"Add options with at least 'type': 'amd' or 'cjs'.","cause":"Missing 'options' block in task configuration.","error":"Running \"es6-module-transpiler:dist\" (es6-module-transpiler) task Warning: Cannot read property 'type' of undefined"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/joefiorini/grunt-es6-module-transpiler","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/grunt-es6-module-transpiler","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops","serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-05-01","next_check":"2026-07-30","install_tag":null}}