diff options
Diffstat (limited to 'node_modules/is-path-in-cwd')
-rw-r--r-- | node_modules/is-path-in-cwd/index.js | 6 | ||||
-rw-r--r-- | node_modules/is-path-in-cwd/package.json | 38 | ||||
-rw-r--r-- | node_modules/is-path-in-cwd/readme.md | 28 |
3 files changed, 0 insertions, 72 deletions
diff --git a/node_modules/is-path-in-cwd/index.js b/node_modules/is-path-in-cwd/index.js deleted file mode 100644 index 75611656a..000000000 --- a/node_modules/is-path-in-cwd/index.js +++ /dev/null @@ -1,6 +0,0 @@ -'use strict'; -var isPathInside = require('is-path-inside'); - -module.exports = function (str) { - return isPathInside(str, process.cwd()); -}; diff --git a/node_modules/is-path-in-cwd/package.json b/node_modules/is-path-in-cwd/package.json deleted file mode 100644 index 422d0206c..000000000 --- a/node_modules/is-path-in-cwd/package.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "is-path-in-cwd", - "version": "1.0.0", - "description": "Check if a path is in the current working directory", - "license": "MIT", - "repository": "sindresorhus/is-path-in-cwd", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "http://sindresorhus.com" - }, - "engines": { - "node": ">=0.10.0" - }, - "scripts": { - "test": "mocha" - }, - "files": [ - "index.js" - ], - "keywords": [ - "path", - "cwd", - "pwd", - "check", - "filepath", - "file", - "folder", - "in", - "inside" - ], - "dependencies": { - "is-path-inside": "^1.0.0" - }, - "devDependencies": { - "mocha": "*" - } -} diff --git a/node_modules/is-path-in-cwd/readme.md b/node_modules/is-path-in-cwd/readme.md deleted file mode 100644 index 4e4f3a883..000000000 --- a/node_modules/is-path-in-cwd/readme.md +++ /dev/null @@ -1,28 +0,0 @@ -# is-path-in-cwd [](https://travis-ci.org/sindresorhus/is-path-in-cwd) - -> Check if a path is in the [current working directory](http://en.wikipedia.org/wiki/Working_directory) - - -## Install - -```sh -$ npm install --save is-path-in-cwd -``` - - -## Usage - -```js -var isPathInCwd = require('is-path-in-cwd'); - -isPathInCwd('unicorn'); -//=> true - -isPathInCwd('../rainbow'); -//=> false -``` - - -## License - -MIT © [Sindre Sorhus](http://sindresorhus.com) |