{"id":25638,"library":"gobble-es6-modules","title":"gobble-es6-modules","description":"A gobble plugin that transpiles ES6 modules to ES5 using the es6-module-transpiler (esnext). Version 0.1.0 is the latest stable release. This package is part of the gobble build system ecosystem and provides a simple .map('es6-modules') transform. It supports both bundle mode (single file output from an entry point) and AMD mode (one-to-one file mapping). The package is minimal but relies on the now-deprecated es6-module-transpiler and has not seen updates since 2014.","status":"deprecated","version":"0.1.0","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","gobble"],"install":[{"cmd":"npm install gobble-es6-modules","lang":"bash","label":"npm"},{"cmd":"yarn add gobble-es6-modules","lang":"bash","label":"yarn"},{"cmd":"pnpm add gobble-es6-modules","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Core dependency for transpilation","package":"es6-module-transpiler","optional":false},{"reason":"Peer dependency; this is a gobble plugin","package":"gobble","optional":false}],"imports":[{"note":"The plugin is not directly imported; it is used via gobble's .map() method.","wrong":"var gobble = require('gobble-es6-modules');","symbol":"es6Modules","correct":"var gobble = require('gobble'); module.exports = gobble('js').map('es6-modules', { bundle: 'app.js' });"},{"note":"This is a CommonJS plugin; there is no default export from the package itself.","wrong":"import gobble from 'gobble-es6-modules';","symbol":"default","correct":"var gobble = require('gobble');"},{"note":"Only 'amd' is supported for type; no other module formats.","wrong":"{ type: 'commonjs' }","symbol":"options","correct":"{ bundle: 'filename.js' } or { type: 'amd' }"}],"quickstart":{"code":"var gobble = require('gobble');\n\n// Create a bundle from entry point 'app.js'\nmodule.exports = gobble('js').map('es6-modules', { bundle: 'app.js' });","lang":"javascript","description":"Shows how to use gobble-es6-modules to transpile ES6 modules into a single bundled ES5 file."},"warnings":[{"fix":"Migrate to gobble-babel or another modern transpiler plugin.","message":"es6-module-transpiler (esnext) is deprecated and unmaintained. Use Babel or TypeScript instead.","severity":"deprecated","affected_versions":">=0.0.0"},{"fix":"Use bundle mode to get single file output, or combine with other plugins.","message":"The plugin only supports AMD output for individual files; other module formats (CommonJS, UMD) are not available.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Consider using an actively maintained alternative.","message":"Version 0.1.0 is the latest and only version; no updates since 2014.","severity":"gotcha","affected_versions":"0.1.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'npm install es6-module-transpiler' as a dependency.","cause":"Missing peer dependency es6-module-transpiler.","error":"Error: Cannot find module 'es6-module-transpiler'"},{"fix":"Ensure gobble is installed (npm install gobble) and the gobblefile exports the result of gobble().map() correctly.","cause":"gobble is not installed or the gobblefile is incorrectly structured.","error":"TypeError: gobble(...).map is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}