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

3.3.0 • Public • Published

builtin-modules

List of the Node.js builtin modules

The list is just a JSON file and can be used anywhere.

Install

$ npm install builtin-modules

Usage

const builtinModules = require('builtin-modules');

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

API

Returns an array of builtin modules fetched from the running Node.js version.

Static list

This module also comes bundled with a static array of builtin modules generated from the latest Node.js version. You can get it with require('builtin-modules/static');

Related


Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.

Package Sidebar

Install

npm i builtin-modules

Weekly Downloads

13,744,525

Version

3.3.0

License

MIT

Unpacked Size

4.51 kB

Total Files

8

Last publish

Collaborators

  • sindresorhus