chuwanghui 6d115466a5 electron库 | vor 6 Jahren | |
---|---|---|
.. | ||
builtin-modules.json | vor 6 Jahren | |
index.js | vor 6 Jahren | |
license | vor 6 Jahren | |
package.json | vor 6 Jahren | |
readme.md | vor 6 Jahren | |
static.js | vor 6 Jahren |
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