Registry / serialization / babbybel

babbybel

JSON →
library1.0.0jsnpmunverified

Babbybel is a lightweight runtime transpiler for adding ES Harmony module (import/export) support to Node.js 6. Version 1.0.0 is the current stable release. It is designed as a lighter alternative to Babel, preserving source line numbers and symbol names. Project appears inactive with no recent updates.

npm install babbybel
INSTALL
IMPORT
SIG · BABBYBEL
B
babbybel
serializationjavascriptv1.0.0
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.

require('babbybel')
require('babbybel')
import 'babbybel'
Must be required before any modules using import/export. ESM import not supported.

Demonstrates requiring babbybel to enable ES module import/export syntax in Node.js 6.

// Install: npm install --save babbybel // Then in your app entry point: require('babbybel'); // Now you can use ES module syntax: import myDefault from './my-module'; import { feature1, feature2 as renamed } from './other-module'; export default function myFunc() { return 'hello'; } export const value = 42;
babbybel --version
Debug
Known issues
deprecatedPackage is unmaintained and only supports Node.js 6.
fix
Use a modern Node.js version and native ESM or Babel.
affects: >=0.0.0
Errors
Common errors & fixes
SyntaxError: Unexpected token import
Forgot to require('babbybel') before using import/export.
fix
Add require('babbybel') at the very top of your entry file.
Upgrade
Version history
1.0.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
babbybel — npm install babbybel · libregistry