documentit/node_modules/builtin-modules
2018-01-05 10:48:13 -08:00
..
builtin-modules.json installed electron 2018-01-05 10:48:13 -08:00
index.js installed electron 2018-01-05 10:48:13 -08:00
license installed electron 2018-01-05 10:48:13 -08:00
package.json installed electron 2018-01-05 10:48:13 -08:00
readme.md installed electron 2018-01-05 10:48:13 -08:00
static.js installed electron 2018-01-05 10:48:13 -08:00

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 --save builtin-modules

Usage

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

console.log(builinModules);
//=> ['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');

License

MIT © Sindre Sorhus