diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-05-27 17:36:13 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-05-27 17:36:13 +0200 |
commit | 5f466137ad6ac596600e3ff53c9b786815398445 (patch) | |
tree | f914c221874f0b16bf3def7ac01d59d1a99a3b0b /node_modules/is-path-cwd | |
parent | c9f5ac8e763eda19aa0564179300cfff76785435 (diff) | |
download | wallet-core-5f466137ad6ac596600e3ff53c9b786815398445.tar.xz |
node_modules, clean up package.json
Diffstat (limited to 'node_modules/is-path-cwd')
-rw-r--r-- | node_modules/is-path-cwd/index.js | 6 | ||||
-rw-r--r-- | node_modules/is-path-cwd/package.json | 33 | ||||
-rw-r--r-- | node_modules/is-path-cwd/readme.md | 28 |
3 files changed, 0 insertions, 67 deletions
diff --git a/node_modules/is-path-cwd/index.js b/node_modules/is-path-cwd/index.js deleted file mode 100644 index 24b6fdea3..000000000 --- a/node_modules/is-path-cwd/index.js +++ /dev/null @@ -1,6 +0,0 @@ -'use strict'; -var path = require('path'); - -module.exports = function (str) { - return path.resolve(str) === path.resolve(process.cwd()); -}; diff --git a/node_modules/is-path-cwd/package.json b/node_modules/is-path-cwd/package.json deleted file mode 100644 index 3aa84f7ea..000000000 --- a/node_modules/is-path-cwd/package.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "is-path-cwd", - "version": "1.0.0", - "description": "Check if a path is CWD", - "license": "MIT", - "repository": "sindresorhus/is-path-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" - ], - "devDependencies": { - "mocha": "*" - } -} diff --git a/node_modules/is-path-cwd/readme.md b/node_modules/is-path-cwd/readme.md deleted file mode 100644 index 2d9d65f98..000000000 --- a/node_modules/is-path-cwd/readme.md +++ /dev/null @@ -1,28 +0,0 @@ -# is-path-cwd [![Build Status](https://travis-ci.org/sindresorhus/is-path-cwd.svg?branch=master)](https://travis-ci.org/sindresorhus/is-path-cwd) - -> Check if a path is [CWD](http://en.wikipedia.org/wiki/Working_directory) - - -## Install - -```sh -$ npm install --save is-path-cwd -``` - - -## Usage - -```js -var isPathCwd = require('is-path-cwd'); - -isPathCwd(process.cwd()); -//=> true - -isPathCwd('unicorn'); -//=> false -``` - - -## License - -MIT © [Sindre Sorhus](http://sindresorhus.com) |