nodun
v1.0.3
Published
tricks programs to run js with bun instead of node.js
Downloads
10
Readme
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-name
Probably not super useful just yet, as most programs wont run on Bun just yet.