aboutsummaryrefslogtreecommitdiff
path: root/node_modules/is-binary-path
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-03-27 21:01:33 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-03-27 21:01:33 +0100
commitcc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 (patch)
tree92c5d88706a6ffc654d1b133618d357890e7096b /node_modules/is-binary-path
parent3771b4d6b67b34c130f3a9a1a15f42deefdb2eda (diff)
remove node_modules
Diffstat (limited to 'node_modules/is-binary-path')
-rw-r--r--node_modules/is-binary-path/index.js12
-rw-r--r--node_modules/is-binary-path/license21
-rw-r--r--node_modules/is-binary-path/package.json39
-rw-r--r--node_modules/is-binary-path/readme.md34
4 files changed, 0 insertions, 106 deletions
diff --git a/node_modules/is-binary-path/index.js b/node_modules/is-binary-path/index.js
deleted file mode 100644
index 6c8c7e728..000000000
--- a/node_modules/is-binary-path/index.js
+++ /dev/null
@@ -1,12 +0,0 @@
-'use strict';
-var path = require('path');
-var binaryExtensions = require('binary-extensions');
-var exts = Object.create(null);
-
-binaryExtensions.forEach(function (el) {
- exts[el] = true;
-});
-
-module.exports = function (filepath) {
- return path.extname(filepath).slice(1).toLowerCase() in exts;
-};
diff --git a/node_modules/is-binary-path/license b/node_modules/is-binary-path/license
deleted file mode 100644
index 654d0bfe9..000000000
--- a/node_modules/is-binary-path/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-binary-path/package.json b/node_modules/is-binary-path/package.json
deleted file mode 100644
index cd21d885c..000000000
--- a/node_modules/is-binary-path/package.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "name": "is-binary-path",
- "version": "1.0.1",
- "description": "Check if a filepath is a binary file",
- "license": "MIT",
- "repository": "sindresorhus/is-binary-path",
- "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": [
- "bin",
- "binary",
- "ext",
- "extensions",
- "extension",
- "file",
- "path",
- "check",
- "detect",
- "is"
- ],
- "dependencies": {
- "binary-extensions": "^1.0.0"
- },
- "devDependencies": {
- "ava": "0.0.4"
- }
-}
diff --git a/node_modules/is-binary-path/readme.md b/node_modules/is-binary-path/readme.md
deleted file mode 100644
index a17d6a245..000000000
--- a/node_modules/is-binary-path/readme.md
+++ /dev/null
@@ -1,34 +0,0 @@
-# is-binary-path [![Build Status](https://travis-ci.org/sindresorhus/is-binary-path.svg?branch=master)](https://travis-ci.org/sindresorhus/is-binary-path)
-
-> Check if a filepath is a binary file
-
-
-## Install
-
-```
-$ npm install --save is-binary-path
-```
-
-
-## Usage
-
-```js
-var isBinaryPath = require('is-binary-path');
-
-isBinaryPath('src/unicorn.png');
-//=> true
-
-isBinaryPath('src/unicorn.txt');
-//=> false
-```
-
-
-## Related
-
-- [`binary-extensions`](https://github.com/sindresorhus/binary-extensions) - List of binary file extensions
-- [`is-text-path`](https://github.com/sindresorhus/is-text-path) - Check if a filepath is a text file
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)