nodun

1.0.3 • Public • Published

nodun

This feature is now available in Bun 0.4 itself with the bun --bun run ... command

Status: Stable NPM Version

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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i nodun

      Weekly Downloads

      2

      Version

      1.0.3

      License

      MIT

      Unpacked Size

      2.86 kB

      Total Files

      5

      Last publish

      Collaborators

      • davecaruso