Initial commit (from f5274cbdce4ae7c9e4b937dcdf95ac70ae436d5f)
This commit is contained in:
commit
28ccc3db2d
13974 changed files with 2618436 additions and 0 deletions
41
node_modules/builtin-modules/readme.md
generated
vendored
Normal file
41
node_modules/builtin-modules/readme.md
generated
vendored
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
# builtin-modules [](https://travis-ci.org/sindresorhus/builtin-modules)
|
||||
|
||||
> List of the Node.js builtin modules
|
||||
|
||||
The list is just a [JSON file](builtin-modules.json) and can be used wherever.
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save builtin-modules
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var builtinModules = require('builtin-modules');
|
||||
|
||||
console.log(builinModules);
|
||||
//=> ['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](https://github.com/sindresorhus/is-builtin-module) - Check if a string matches the name of a Node.js builtin module
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](http://sindresorhus.com)
|
||||
Loading…
Add table
Add a link
Reference in a new issue