The is-builtin-module package reliably determines if a given string represents a built-in Node.js module. Crucially, it accounts for the "node:" protocol used for disambiguation, returning true for 'node:fs' but not 'fs'. It's essential for tooling that needs to distinguish between core modules and user-installed dependencies. This prevents accidental attempts to install or handle native modules as external packages, ensuring correct behavior in module resolution and dependency management pipelines.
The npm package is-builtin-module has seen sporadic releases since its initial version in May 2015. There were releases roughly every one to three years, with versions 2.0.0, 3.0.0, 3.1.0, 3.2.0, 3.2.1, and 4.0.0 appearing in November 2017, September 2018, April 2021, July 2022, January 2023 and April 2024, respectively. So far in 2025, one version was released in February.
The npm package "is-builtin-module" experienced fluctuating download numbers between March 2024 and August 2025. Downloads generally increased over time, with a notable surge in June and July 2025. August 2025 data is incomplete due to the current date.