root 3bf41bf355 update | 1 anno fa | |
---|---|---|
.. | ||
builtin-modules.json | 1 anno fa | |
index.js | 1 anno fa | |
license | 1 anno fa | |
package.json | 1 anno fa | |
readme.md | 1 anno fa | |
static.js | 1 anno fa |
List of the Node.js builtin modules
The list is just a JSON file and can be used wherever.
$ npm install --save builtin-modules
var builtinModules = require('builtin-modules');
console.log(builinModules);
//=> ['assert', 'buffer', ...]
Returns an array of builtin modules fetched from the running Node.js version.
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');
MIT © Sindre Sorhus