1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-06 21:17:23 -05:00
notes/node_modules/builtin-modules
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00
..
builtin-modules.json Initial commit 2017-03-09 13:16:08 -05:00
index.js Initial commit 2017-03-09 13:16:08 -05:00
license Initial commit 2017-03-09 13:16:08 -05:00
package.json Initial commit 2017-03-09 13:16:08 -05:00
readme.md Initial commit 2017-03-09 13:16:08 -05:00
static.js Initial commit 2017-03-09 13:16:08 -05: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