aboutsummaryrefslogtreecommitdiff
path: root/node_modules/is-builtin-module
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/is-builtin-module')
-rw-r--r--node_modules/is-builtin-module/index.js10
-rw-r--r--node_modules/is-builtin-module/license21
-rw-r--r--node_modules/is-builtin-module/package.json43
-rw-r--r--node_modules/is-builtin-module/readme.md33
4 files changed, 0 insertions, 107 deletions
diff --git a/node_modules/is-builtin-module/index.js b/node_modules/is-builtin-module/index.js
deleted file mode 100644
index b6cfa616a..000000000
--- a/node_modules/is-builtin-module/index.js
+++ /dev/null
@@ -1,10 +0,0 @@
-'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;
-};
diff --git a/node_modules/is-builtin-module/license b/node_modules/is-builtin-module/license
deleted file mode 100644
index 654d0bfe9..000000000
--- a/node_modules/is-builtin-module/license
+++ /dev/null
@@ -1,21 +0,0 @@
-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.
diff --git a/node_modules/is-builtin-module/package.json b/node_modules/is-builtin-module/package.json
deleted file mode 100644
index 4a49ec0e0..000000000
--- a/node_modules/is-builtin-module/package.json
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- "name": "is-builtin-module",
- "version": "1.0.0",
- "description": "Check if a string matches the name of a Node.js builtin module",
- "license": "MIT",
- "repository": "sindresorhus/is-builtin-module",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "node test.js"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "builtin",
- "built-in",
- "builtins",
- "node",
- "modules",
- "core",
- "bundled",
- "list",
- "array",
- "names",
- "is",
- "detect",
- "check",
- "match"
- ],
- "dependencies": {
- "builtin-modules": "^1.0.0"
- },
- "devDependencies": {
- "ava": "0.0.4"
- }
-}
diff --git a/node_modules/is-builtin-module/readme.md b/node_modules/is-builtin-module/readme.md
deleted file mode 100644
index 798dcf437..000000000
--- a/node_modules/is-builtin-module/readme.md
+++ /dev/null
@@ -1,33 +0,0 @@
-# is-builtin-module [![Build Status](https://travis-ci.org/sindresorhus/is-builtin-module.svg?branch=master)](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)