Registry / devops / gobble-es6-transpiler

gobble-es6-transpiler

JSON →
library0.1.2jsnpmunverified

Gobble plugin to compile ES6 JavaScript files using es6-transpiler. Current version 0.1.2 (unmaintained since 2014). Release cadence: no active development. Key differentiators: integrates with the gobble build system and wraps es6-transpiler for ES6-to-ES5 transpilation. Alternatives: use modern tools like Babel or TypeScript with gobble-gobble or other build systems.

npm install gobble-es6-transpiler
INSTALL
IMPORT
SIG · GOBBLE-ES6-TRANSPI
G
gobble-es6-transpiler
devopsjavascriptv0.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gobble-es6-transpiler
const gobble = require('gobble'); require('gobble-es6-transpiler');
import gobbleEs6Transpiler from 'gobble-es6-transpiler';
Plugin is registered as a gobble plugin by requiring it before use. No direct import or module export.

Shows how to use the plugin in a gobblefile: require the plugin and chain it with map.

const gobble = require('gobble'); require('gobble-es6-transpiler'); module.exports = gobble('js').map('es6-transpiler', { // es6-transpiler options });
Debug
Known issues
deprecatedes6-transpiler is unmaintained and has known issues with modern JavaScript features.
fix
Migrate to a modern transpiler like Babel with gobble-babel or use a different build system.
affects: >=0.0
breakingThe plugin may not work with newer versions of gobble (post-0.10.x API changes).
fix
Check gobble compatibility or use an alternative plugin.
affects: >=0.1.2
gotchaThe `onError` option is undocumented; behavior may vary.
fix
Handle errors via try-catch or rely on exceptions.
affects: >=0.1.2
Errors
Common errors & fixes
Cannot find module 'es6-transpiler'
Missing dependency: es6-transpiler is not installed.
fix
Run `npm install es6-transpiler` as a dependency.
TypeError: gobble(...).map is not a function
Incorrect gobble API or plugin not loaded.
fix
Ensure gobble version supports .map and require('gobble-es6-transpiler') is called before usage.
Upgrade
Version history
0.1.2latest on npm
Audit
Dependencies
gobblerequiredPeer dependency: required by the plugin to function in a gobble build pipeline
es6-transpilerrequiredCore dependency: wraps es6-transpiler for transpilation
Agent activity
4 hits · last 30 days
node
4
Resources
gobble-es6-transpiler — npm install gobble-es6-transpiler · libregistry