You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to migrate to Bun, but there are a few unsupported things, or things that break. I have tons of cli tools and libraries where some work and others don't.
I thought it would be nice to have a new cli tool called js, that would try to use bun, and if it didn't work, it would run it with node...and would take care of adding polyfills for Bun-specific apis.
It could remember what runtime to use based on some package.json config.
It could listen to error output and provide messages to help sort out problems, or warn about unsupported apis.
I would want to add it to my package.json scripts.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to migrate to Bun, but there are a few unsupported things, or things that break. I have tons of cli tools and libraries where some work and others don't.
I thought it would be nice to have a new cli tool called
js
, that would try to usebun
, and if it didn't work, it would run it withnode
...and would take care of adding polyfills for Bun-specific apis.It could remember what runtime to use based on some
package.json
config.It could listen to error output and provide messages to help sort out problems, or warn about unsupported apis.
I would want to add it to my
package.json
scripts.package.json
Related
https://github.com/jhmaster2000/node-bun
Beta Was this translation helpful? Give feedback.
All reactions