Pushing changes
This commit is contained in:
10
node_modules/is-builtin-module/index.js
generated
vendored
Normal file
10
node_modules/is-builtin-module/index.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
var builtinModules = require('builtin-modules');
|
||||
|
||||
module.exports = function (str) {
|
||||
if (typeof str !== 'string') {
|
||||
throw new TypeError('Expected a string');
|
||||
}
|
||||
|
||||
return builtinModules.indexOf(str) !== -1;
|
||||
};
|
21
node_modules/is-builtin-module/license
generated
vendored
Normal file
21
node_modules/is-builtin-module/license
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
106
node_modules/is-builtin-module/package.json
generated
vendored
Normal file
106
node_modules/is-builtin-module/package.json
generated
vendored
Normal file
@ -0,0 +1,106 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
{
|
||||
"raw": "is-builtin-module@^1.0.0",
|
||||
"scope": null,
|
||||
"escapedName": "is-builtin-module",
|
||||
"name": "is-builtin-module",
|
||||
"rawSpec": "^1.0.0",
|
||||
"spec": ">=1.0.0 <2.0.0",
|
||||
"type": "range"
|
||||
},
|
||||
"/home/burchettm/statsbot/node_modules/normalize-package-data"
|
||||
]
|
||||
],
|
||||
"_from": "is-builtin-module@>=1.0.0 <2.0.0",
|
||||
"_id": "is-builtin-module@1.0.0",
|
||||
"_inCache": true,
|
||||
"_location": "/is-builtin-module",
|
||||
"_nodeVersion": "0.12.2",
|
||||
"_npmUser": {
|
||||
"name": "sindresorhus",
|
||||
"email": "sindresorhus@gmail.com"
|
||||
},
|
||||
"_npmVersion": "2.7.4",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"raw": "is-builtin-module@^1.0.0",
|
||||
"scope": null,
|
||||
"escapedName": "is-builtin-module",
|
||||
"name": "is-builtin-module",
|
||||
"rawSpec": "^1.0.0",
|
||||
"spec": ">=1.0.0 <2.0.0",
|
||||
"type": "range"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/normalize-package-data"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz",
|
||||
"_shasum": "540572d34f7ac3119f8f76c30cbc1b1e037affbe",
|
||||
"_shrinkwrap": null,
|
||||
"_spec": "is-builtin-module@^1.0.0",
|
||||
"_where": "/home/burchettm/statsbot/node_modules/normalize-package-data",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "sindresorhus.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/sindresorhus/is-builtin-module/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"builtin-modules": "^1.0.0"
|
||||
},
|
||||
"description": "Check if a string matches the name of a Node.js builtin module",
|
||||
"devDependencies": {
|
||||
"ava": "0.0.4"
|
||||
},
|
||||
"directories": {},
|
||||
"dist": {
|
||||
"shasum": "540572d34f7ac3119f8f76c30cbc1b1e037affbe",
|
||||
"tarball": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"gitHead": "da55ebf031f3864c5d309e25e49ed816957d70a2",
|
||||
"homepage": "https://github.com/sindresorhus/is-builtin-module",
|
||||
"keywords": [
|
||||
"builtin",
|
||||
"built-in",
|
||||
"builtins",
|
||||
"node",
|
||||
"modules",
|
||||
"core",
|
||||
"bundled",
|
||||
"list",
|
||||
"array",
|
||||
"names",
|
||||
"is",
|
||||
"detect",
|
||||
"check",
|
||||
"match"
|
||||
],
|
||||
"license": "MIT",
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "sindresorhus",
|
||||
"email": "sindresorhus@gmail.com"
|
||||
}
|
||||
],
|
||||
"name": "is-builtin-module",
|
||||
"optionalDependencies": {},
|
||||
"readme": "ERROR: No README data found!",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/sindresorhus/is-builtin-module.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "node test.js"
|
||||
},
|
||||
"version": "1.0.0"
|
||||
}
|
33
node_modules/is-builtin-module/readme.md
generated
vendored
Normal file
33
node_modules/is-builtin-module/readme.md
generated
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
# is-builtin-module [](https://travis-ci.org/sindresorhus/is-builtin-module)
|
||||
|
||||
> Check if a string matches the name of a Node.js builtin module
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save is-builtin-module
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var isBuiltinModule = require('is-builtin-module');
|
||||
|
||||
isBuiltinModule('fs');
|
||||
//=> true
|
||||
|
||||
isBuiltinModule('unicorn');
|
||||
//=> false :(
|
||||
```
|
||||
|
||||
|
||||
## Related
|
||||
|
||||
- [builtin-modules](https://github.com/sindresorhus/builtin-modules) - List of the Node.js builtin modules
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](http://sindresorhus.com)
|
Reference in New Issue
Block a user