paulpaterson_obsidian-proje.../node_modules/builtin-modules
2024-11-02 14:49:26 -05:00
..
builtin-modules.json Initial commit of PoC code 2024-11-02 14:49:26 -05:00
index.d.ts Initial commit of PoC code 2024-11-02 14:49:26 -05:00
index.js Initial commit of PoC code 2024-11-02 14:49:26 -05:00
license Initial commit of PoC code 2024-11-02 14:49:26 -05:00
package.json Initial commit of PoC code 2024-11-02 14:49:26 -05:00
readme.md Initial commit of PoC code 2024-11-02 14:49:26 -05:00
static.d.ts Initial commit of PoC code 2024-11-02 14:49:26 -05:00
static.js Initial commit of PoC code 2024-11-02 14:49:26 -05:00

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');


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.