{"id":27179,"library":"node-red-contrib-babel","title":"Babel transpiler for Node-RED","description":"A Node-RED node that uses Babel to transpile JavaScript code within a Node-RED flow. Version 0.0.5 is the latest release; appears to be experimental with no active maintenance. It allows specifying presets and input encoding but lacks documentation. Caution: unknown security implications as it executes transpiled code in Node-RED context.","status":"abandoned","version":"0.0.5","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","node-red"],"install":[{"cmd":"npm install node-red-contrib-babel","lang":"bash","label":"npm"},{"cmd":"yarn add node-red-contrib-babel","lang":"bash","label":"yarn"},{"cmd":"pnpm add node-red-contrib-babel","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"ESM import; package has no default exports, but Node-RED nodes are loaded via require in Node-RED runtime.","symbol":"default","correct":"import babelNode from 'node-red-contrib-babel'"}],"quickstart":{"code":"// Install node-red-contrib-babel\n// npm install node-red-contrib-babel\n// Use in Node-RED flow:\n// Add 'babel' node to canvas\n// Input: any color (default: #E9967A)\n// Output: same color\n// Set 'Babel preset' property (e.g., es2015)\n// Input encoding: can set to specific encoding\n// The node transpiles the incoming message's payload using Babel","lang":"javascript","description":"Shows how to install and use the babel node in Node-RED, including setting Babel preset and input encoding."},"warnings":[{"fix":"Consider using a different transpilation approach or Node-RED function node with Babel directly.","message":"Package has no README, no documentation, and appears unmaintained.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Avoid using in production; audit code before use.","message":"Version 0.0.5 is very early; likely contains bugs and security issues.","severity":"gotcha","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":"Install required Babel packages: npm install babel-core babel-preset-es2015","cause":"Missing dependency on Babel core packages (babel-core, babel-preset-es2015, etc.)","error":"Cannot find module 'babel-core'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}