{"id":20537,"library":"sb-babel-cli","title":"sb-babel-cli","description":"A smarter babel-cli wrapper by Steelbrain. Version 5.1.1 is the latest stable release. It wraps the official Babel CLI with additional features like file watching, improved error handling, and a simpler API. Not actively maintained; the author recommends using @babel/cli directly. Requires Node >= 10.","status":"deprecated","version":"5.1.1","language":"javascript","source_language":"en","source_url":"https://github.com/steelbrain/babel-cli","tags":["javascript","cli","babel"],"install":[{"cmd":"npm install sb-babel-cli","lang":"bash","label":"npm"},{"cmd":"yarn add sb-babel-cli","lang":"bash","label":"yarn"},{"cmd":"pnpm add sb-babel-cli","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"This is a CLI tool, not a library. Use npx or install globally.","wrong":"import sbBabelCli from 'sb-babel-cli'","symbol":"default (cli)","correct":"npx sb-babel-cli src --out-dir dist"}],"quickstart":{"code":"npm install -g sb-babel-cli\nsb-babel-cli src --out-dir lib","lang":"javascript","description":"Installs sb-babel-cli globally and compiles src/ to lib/."},"warnings":[{"fix":"Switch to @babel/cli (official Babel CLI).","message":"Package is deprecated in favor of @babel/cli","severity":"deprecated","affected_versions":">=5.0.0"},{"fix":"Review Babel CLI documentation and adjust command line arguments.","message":"Breaking changes between sb-babel-cli and @babel/cli in CLI flags","severity":"breaking","affected_versions":">=5.0.0"},{"fix":"Upgrade Node to version 10 or higher.","message":"Node >= 10 required; lower versions may fail silently.","severity":"gotcha","affected_versions":">=5.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Use npx or install globally: npm install -g sb-babel-cli","cause":"Package not installed or used incorrectly as a module import.","error":"Error: Cannot find module 'sb-babel-cli'"},{"fix":"sb-babel-cli is a CLI tool, not a library. Use it from command line.","cause":"Trying to import sb-babel-cli as a CommonJS module.","error":"ReferenceError: babel is not defined"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}