Irina Glushko 2389e7160b HW1 done | %!s(int64=3) %!d(string=hai) anos | |
---|---|---|
.. | ||
builtin-modules.json | %!s(int64=3) %!d(string=hai) anos | |
index.d.ts | %!s(int64=3) %!d(string=hai) anos | |
index.js | %!s(int64=3) %!d(string=hai) anos | |
license | %!s(int64=3) %!d(string=hai) anos | |
package.json | %!s(int64=3) %!d(string=hai) anos | |
readme.md | %!s(int64=3) %!d(string=hai) anos | |
static.d.ts | %!s(int64=3) %!d(string=hai) anos | |
static.js | %!s(int64=3) %!d(string=hai) anos |
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');