List of the Node.js builtin modules
Switch branches/tags
Nothing to show
Clone or download
Latest commit 7ba6bb5 May 27, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig Require Node.js >=4 (#4) Nov 15, 2017
.gitattributes Require Node.js 6 May 27, 2018
.gitignore Require Node.js >=4 (#4) Nov 15, 2017
.npmrc Require Node.js >=4 (#4) Nov 15, 2017
.travis.yml Require Node.js 6 May 27, 2018
builtin-modules.json Require Node.js 6 May 27, 2018
index.js Require Node.js 6 May 27, 2018
license Require Node.js >=4 (#4) Nov 15, 2017
make.js Require Node.js >=4 (#4) Nov 15, 2017
package.json 3.0.0 May 27, 2018
readme.md Require Node.js >=4 (#4) Nov 15, 2017
static.js Require Node.js >=4 (#4) Nov 15, 2017
test.js Require Node.js 6 May 27, 2018

readme.md

builtin-modules Build Status

List of the Node.js builtin modules

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

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

License

MIT © Sindre Sorhus