Package Exports
- builtin-modules
- builtin-modules/static
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (builtin-modules) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
builtin-modules 
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
- is-builtin-module - Check if a string matches the name of a Node.js builtin module
License
MIT © Sindre Sorhus