sindresorhus

is-builtin-module

Check if a string matches the name of a Node.js builtin module

by sindresorhus

JavaScript

JavaScript88.3%
TypeScript11.7%

Commit activity

Last 12 weeks · 1 commit

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template
fisker

I assume https://github.com/sindresorhus/builtin-modules/pull/18 will release as v5, this should work after it gets released. I also changed to lazy evaluation.

fisker · 1y ago
webpro

FYI, Node.js v16.17.0 and v18.6.0 introduced module.isBuiltin, so when on bleeding edge we can import the _built-in_ :

webpro · 2y ago
Structured data for AI agents

Repository: sindresorhus/is-builtin-module. Description: Check if a string matches the name of a Node.js builtin module Stars: 63, Forks: 8. Primary language: JavaScript. Languages: JavaScript (88.3%), TypeScript (11.7%). License: MIT. Latest release: v5.0.0 (1y ago). Open PRs: 0, open issues: 0. Last activity: 1mo ago. Community health: 85%. Top contributors: sindresorhus, coreyfarrell, fisker, Richienb, sagargurtu.