Irina Glushko 2389e7160b HW1 done | 3 jaren geleden | |
---|---|---|
.. | ||
builtin-modules.json | 3 jaren geleden | |
index.d.ts | 3 jaren geleden | |
index.js | 3 jaren geleden | |
license | 3 jaren geleden | |
package.json | 3 jaren geleden | |
readme.md | 3 jaren geleden | |
static.d.ts | 3 jaren geleden | |
static.js | 3 jaren geleden |
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');