Skip to content

Conversation

@fengmk2
Copy link

@fengmk2 fengmk2 commented Nov 14, 2025

Add runtime check for require availability before accessing module.builtinModules, allowing the package to work in non-CommonJS environments like ESM or browsers.

Closes #124

Add runtime check for require availability before accessing module.builtinModules, allowing the package to work in non-CommonJS environments like ESM or browsers.

close npm#124
@fengmk2 fengmk2 requested a review from a team as a code owner November 14, 2025 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Browser compatible version

1 participant