张益铭 9064b372e8 docs:更新文档 4 年之前
..
builtin-modules.json 9064b372e8 docs:更新文档 4 年之前
index.d.ts 9064b372e8 docs:更新文档 4 年之前
index.js 9064b372e8 docs:更新文档 4 年之前
license 9064b372e8 docs:更新文档 4 年之前
package.json 9064b372e8 docs:更新文档 4 年之前
readme.md 9064b372e8 docs:更新文档 4 年之前
static.d.ts 9064b372e8 docs:更新文档 4 年之前
static.js 9064b372e8 docs:更新文档 4 年之前

readme.md

builtin-modules Build Status

List of the Node.js builtin modules

The list is just a JSON file and can be used wherever.

Install

$ npm install builtin-modules

Usage

const builtinModules = require('builtin-modules');

console.log(builtinModules);
//=> ['assert', 'buffer', ...]

API

Returns an array of builtin modules fetched from the running Node.js version.

Static list

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');

Related

License

MIT © Sindre Sorhus