peach a19a732be8 commit message | il y a 2 ans | |
---|---|---|
.. | ||
builtin-modules.json | il y a 2 ans | |
index.d.ts | il y a 2 ans | |
index.js | il y a 2 ans | |
license | il y a 2 ans | |
package.json | il y a 2 ans | |
readme.md | il y a 2 ans | |
static.d.ts | il y a 2 ans | |
static.js | il y a 2 ans |
List of the Node.js builtin modules
The list is just a JSON file and can be used anywhere.
$ npm install builtin-modules
const builtinModules = require('builtin-modules');
console.log(builtinModules);
//=> ['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');