{"id":27035,"library":"gulp-babel-transpiler","title":"gulp-babel-transpiler","description":"Gulp plugin to transpile ES6 (ES2015) files to ES5 using babel-core. Current version 0.1.1, no known release cadence. Key differentiator: wraps babel-core as a Gulp pipeline plugin, but is very early and unmaintained. Consider using @babel/gulp-babel instead, as this package is essentially abandoned and relies on outdated babel-core 5.x.","status":"abandoned","version":"0.1.1","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","gulpplugin"],"install":[{"cmd":"npm install gulp-babel-transpiler","lang":"bash","label":"npm"},{"cmd":"yarn add gulp-babel-transpiler","lang":"bash","label":"yarn"},{"cmd":"pnpm add gulp-babel-transpiler","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Plugin requires Gulp's stream pipeline","package":"gulp","optional":false},{"reason":"Transpilation core; uses babel-core v5.x (outdated)","package":"babel-core","optional":false}],"imports":[{"note":"Package does not support ESM; only CommonJS. Named exports are also not available; the default export is the function itself.","wrong":"import transpile from 'gulp-babel-transpiler';","symbol":"default (transpile)","correct":"var transpile = require('gulp-babel-transpiler');"},{"note":"Options passed to babel-core, but in this version babel-core 5.x does not use presets. Options are passed directly to babel-core's transform method.","wrong":".pipe(babel({ presets: ['es2015'] }))","symbol":"babel (pipe usage)","correct":".pipe(babel())"}],"quickstart":{"code":"var gulp = require('gulp');\nvar babel = require('gulp-babel-transpiler');\n\ngulp.task('default', function() {\n  return gulp.src('./es6/*.js')\n    .pipe(babel())\n    .pipe(gulp.dest('./es5_app'));\n});","lang":"javascript","description":"Basic Gulp task using gulp-babel-transpiler to transpile .js files from es6 to es5_app directory."},"warnings":[{"fix":"Migrate to @babel/gulp-babel and @babel/preset-env.","message":"Package uses babel-core 5.x which is no longer maintained. Use @babel/gulp-babel with babel 6+ and presets.","severity":"deprecated","affected_versions":">=0.0.1"},{"fix":"If you need modern Babel features, switch to @babel/gulp-babel.","message":"No options for presets or plugins; all options are passed directly to babel-core 5.x transform, which has different API compared to babel 6+.","severity":"gotcha","affected_versions":">=0.0.1"},{"fix":"Use const babel = require('gulp-babel-transpiler');","message":"Package has no named exports; require('gulp-babel-transpiler') returns a single function. Do not destructure or import named.","severity":"breaking","affected_versions":">=0.0.1"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"npm install babel-core --save-dev","cause":"babel-core is a peer dependency not listed in package.json, but required at runtime.","error":"Cannot find module 'babel-core'"},{"fix":"Use 'const babel = require('gulp-babel-transpiler');'","cause":"Trying to use named import from ESM or destructure require.","error":"babel is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}