package
A static list of the Node.js builtin modules from the latest Node.js version
npm install builtin-modulesGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
A static list of the Node.js builtin modules from the latest Node.js version
The list is just a JSON file and can be used anywhere.
npm install builtin-modulesimport builtinModules from 'builtin-modules';
console.log(builtinModules);
//=> ['node:assert', 'assert', 'node:buffer', 'buffer', …]To get a list from the current Node.js version, use the built-in API:
import {builtinModules} from 'node:module';Estimated unpacked size across 1 packages.
4.9 kB
Includes dependencies.