1.0.3 • Published 3 years ago
nodun v1.0.3
nodun
This feature is now available in Bun 0.4 itself with the bun --bun run ... command
Tricks programs to run js with Bun instead of Node.js. This is done by patching the PATH environment variable with a fake version of node. A couple other things are done as well, but that's the essential part.
# install
bun add -g nodun
# nodun passes all args to bun
nodun run script-nameProbably not super useful just yet, as most programs wont run on Bun just yet.