peach a19a732be8 commit message | 2 éve | |
---|---|---|
.. | ||
builtin-modules.json | 2 éve | |
index.d.ts | 2 éve | |
index.js | 2 éve | |
license | 2 éve | |
package.json | 2 éve | |
readme.md | 2 éve | |
static.d.ts | 2 éve | |
static.js | 2 éve |
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');