builtin-modules
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

builtin-modules

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.

Install

npm install builtin-modules

Usage

import builtinModules from 'builtin-modules';

console.log(builtinModules);
//=> ['assert', 'buffer', …]

Tip

To get a list from the current Node.js version, use the built-in API:

import {builtinModules} from 'node:module';

Related

Package Sidebar

Install

npm i builtin-modules

Weekly Downloads

16,732,839

Version

4.0.0

License

MIT

Unpacked Size

3.78 kB

Total Files

6

Last publish

Collaborators

  • sindresorhus