BUBLΓ(1)
π BUBLΓ(1) β the bestie guide π
okay so real talk, this is the manual page for BublΓ©, and I'm gonna walk you through it like we're texting at 1am. it's giving "user commands" energy, and honestly? iconic. let's get into it. π¦
β¨ NAME β¨
BublΓ© β a fast ES2015 compiler for Node.js. no cap, it's quick. π
πΈ SYNOPSIS πΈ
buble [options] <inputfile>
like, that's the whole vibe. options, then your file. periodt.
π DESCRIPTION π
so BublΓ© is an ES2015 compiler π it takes your ES6 javascript code and turns it into Javascript that can actually run in older ES5 environments. your ancient runtime gets to eat, bestie. π
but listen β not all of ES6 is supported. some stuff gets skipped, either because it gives size or performance issues, or because it literally can't be transpiled to ES5. it's not personal, it's just physics. π
π OPTIONS π
-v,--versionβ shows the version number. the "who even am I" check. π-h,--helpβ shows this help message. it's me, I'm the help message. π«Ά-i,--inputβ your Input. this is the alternative to using<entry file>, so pick your fighter. β¨-o,--output <output>β your Output. and if you don't give one? it just prints to stdout. no file, just vibes on your terminal. π-m,--sourcemapβ generates a sourcemap. want it inline? do-m inlineand slay. πΊοΈ-t,--targetβ selects your compilation targets. tell it who you're performing for. π―-y,--yesβ transforms to always apply. this one overrides--target, so it's got main character energy. π₯-n,--noβ transforms to always skip. also overrides--target. the hater of the group, respectfully. π--jsxβ custom JSX pragma. bring your own. π§--objectAssignβ specifyObject.assignor an equivalent polyfill. π--no-named-function-exprβ don't output named function expressions. we're keeping it anonymous, mysterious, unbothered. π
β EXAMPLES β
these are copy-paste-able, do not come for me:
# Compile input.js to output.js
buble input.js > output.js
# Compile input.js to output.js, write sourcemap to output.js.map
buble input.js -o output.js -m
# Compile input.js to output.js with inline sourcemap
buble input.js -o output.js -m inline
# Only use transforms necessary for output.js to run in FF43 and Node 5
buble input.js -o output.js -t firefox:43,node:5
# As above, but use arrow function and destructuring transforms
buble input.js -o output.js -t firefox:43,node:5 -y arrow,destructuring
# Compile all the files in src/ to dest/
buble src -o dest
π Notes: π
- When piping to stdout, only inline sourcemaps are permitted. that's the rule, bestie. no regular maps when you're streaming, sorry. π€
π SEE ALSO π
want more? go read the guide, it's right here:
aaaand that's the whole page, you ate it. π this was BublΓ© version 0.15.2, dated September 2017, and it lives in the User Commands corner of your manual. go compile something cute. bye bestie! πβ¨π¦
π¦ where this page comes from
- debian bookworm: node-buble 0.20.0+~0.20.1-4 Β· MIT
- debian trixie: node-buble 0.20.0+~0.20.1-5 Β· MIT
- ubuntu jammy: node-buble 0.20.0+~0.20.1-1 Β· MIT
- ubuntu noble: node-buble 0.20.0+~0.20.1-5 Β· MIT
- ubuntu questing: node-buble 0.20.0+~0.20.1-5
- ubuntu resolute: node-buble 0.20.0+~0.20.5-3 Β· MIT
- ubuntu stonking: node-buble 0.20.0+~0.20.5-4 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms