Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Feature request — support process.getBuiltinModule #2121

Closed
IgorMinar opened this issue May 14, 2024 · 0 comments
Closed

✨ Feature request — support process.getBuiltinModule #2121

IgorMinar opened this issue May 14, 2024 · 0 comments
Assignees
Labels
api feature request Request for Workers team to add a feature nodejs compat

Comments

@IgorMinar
Copy link
Contributor

Node is implementing a new API — process.getBuiltinModule (see: nodejs/node#52762) — which would be very handy for us to build hybrid polyfills: unjs/unenv#181

As discussed with @jasnell, providing this API as an alternative way to expose the native node: modules is preferable to other things we considered (e.g. exporting all apis via workerd:node:* or node-unenv:* prefixes.

@jasnell jasnell added feature request Request for Workers team to add a feature nodejs compat api labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api feature request Request for Workers team to add a feature nodejs compat
Projects
None yet
Development

No branches or pull requests

2 participants