Eric Foster 35b96bc934 initial commit | 6 anni fa | |
---|---|---|
.. | ||
builtin-modules.json | 6 anni fa | |
index.js | 6 anni fa | |
license | 6 anni fa | |
package.json | 6 anni fa | |
readme.md | 6 anni fa | |
static.js | 6 anni 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