unjs / unenv

๐Ÿ•Š๏ธ Convert javaScript code to be runtime agnostic
MIT License
348 stars 18 forks source link

feat: polyfill `node:module` #148

Closed pi0 closed 7 months ago

pi0 commented 7 months ago

๐Ÿ”— Linked issue

resolves #147

โ“ Type of change

๐Ÿ“š Description

Implement node:module namespace. All methods are polyfilled but it allows named exports and future implementation.

๐Ÿ“ Checklist