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
Program language like rust and zig, leads to new backend js/ts runtime like deno and bun.
What is the problem?
npm is awesome.
To use awesome npm package for backend, usually need Node.js core module.
But, currently, because three runtime not able to share same Node.js core module, when use deno or bun with npm packages, there are compatibility issues.
Because Node.jsdenobun does not able to share same Node.js core module and spec and test, denobun reinvent the not-fully-compact wheel individually, and not reinvent-once-use-forever.
Way out of scope and completely unrealistic. There's zero chance of this happening so I'm going to close this. Pursue it in your personal fork but not here.
Feature Request
Make backend js ecosystem future better.
What changed?
Program language like
rust
andzig
, leads to new backend js/ts runtime likedeno
andbun
.What is the problem?
npm
is awesome.To use awesome
npm
package for backend, usually needNode.js
core module.But, currently, because three runtime not able to share same
Node.js
core module, when usedeno
orbun
withnpm
packages, there are compatibility issues.Because
Node.js
deno
bun
does not able to share sameNode.js
core module and spec and test,deno
bun
reinvent the not-fully-compact wheel individually, and not reinvent-once-use-forever.What maybe the solution?
Node.js
deno
bun
all supportnapi
.deno
napi since pull/13633, stable at v1.31bun
is also implementing napiExtra
I don't know if override core module is needed for solution.
If it does, I guess
Node.js
loader anddeno
importmap should works.What is the feature request?
Rewrite
Node.js
core module usingnapi
Rewrite
Node.js
core module test usingjavascript
, soNode.js
deno
bun
browserify-XXX
can share SAME testPublish
napi
version ofNode.js
core module tonpm
Maybe publish to
npm
under a new organization@backend-javascript-core-module-standard-committee/http
Related
[feat] Make backend js ecosystem future better denoland/deno#20919
[feat] Make backend js ecosystem future better oven-sh/bun#6532
The text was updated successfully, but these errors were encountered: