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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 4.0.0
    6,010
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 4.0.0
    6,010
  • 3.3.0
    9,340,189
  • 3.2.0
    1,050,163
  • 3.1.0
    450,764
  • 3.0.0
    221,287
  • 2.0.0
    85,974
  • 1.1.1
    2,391,780
  • 1.1.0
    1,357
  • 1.0.1
    3
  • 1.0.0
    3

Package Sidebar

Install

npm i builtin-modules

Weekly Downloads

13,547,530

Version

4.0.0

License

MIT

Unpacked Size

3.78 kB

Total Files

6

Last publish

Collaborators

  • sindresorhus