Replies: 1 comment 1 reply
-
Why not using just node api? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Is there something like a compatibility layer (or library) to allow running the same code (primarily for Node.js) to be compatible with Bun specific API?
quick example:
To run a TCP server -> in Node.js:
... -> in Bun:
It would be great to have the Node.js-style code as is. When it is executed in the Bun runtime, it will be executed with Bun-specific APIs.
Apologize if there is already solution, I didn't find it yet.
Beta Was this translation helpful? Give feedback.
All reactions