Registry / devops / sb-babel-cli

sb-babel-cli

JSON →
library5.1.1jsnpmunverified

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.

npm install sb-babel-cli
INSTALL
IMPORT
SIG · SB-BABEL-CLI
S
sb-babel-cli
devopsjavascriptv5.1.1
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

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

default (cli)
npx sb-babel-cli src --out-dir dist
import sbBabelCli from 'sb-babel-cli'
This is a CLI tool, not a library. Use npx or install globally.

Installs sb-babel-cli globally and compiles src/ to lib/.

npm install -g sb-babel-cli sb-babel-cli src --out-dir lib
sb-babel-cli --version
Debug
Known issues
deprecatedPackage is deprecated in favor of @babel/cli
fix
Switch to @babel/cli (official Babel CLI).
affects: >=5.0.0
breakingBreaking changes between sb-babel-cli and @babel/cli in CLI flags
fix
Review Babel CLI documentation and adjust command line arguments.
affects: >=5.0.0
gotchaNode >= 10 required; lower versions may fail silently.
fix
Upgrade Node to version 10 or higher.
affects: >=5.0.0
Errors
Common errors & fixes
Error: Cannot find module 'sb-babel-cli'
Package not installed or used incorrectly as a module import.
fix
Use npx or install globally: npm install -g sb-babel-cli
ReferenceError: babel is not defined
Trying to import sb-babel-cli as a CommonJS module.
fix
sb-babel-cli is a CLI tool, not a library. Use it from command line.
Upgrade
Version history
5.1.1latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
sb-babel-cli — npm install sb-babel-cli · libregistry