From 5f466137ad6ac596600e3ff53c9b786815398445 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sat, 27 May 2017 17:36:13 +0200 Subject: node_modules, clean up package.json --- node_modules/is-path-cwd/index.js | 6 ------ node_modules/is-path-cwd/package.json | 33 --------------------------------- node_modules/is-path-cwd/readme.md | 28 ---------------------------- 3 files changed, 67 deletions(-) delete mode 100644 node_modules/is-path-cwd/index.js delete mode 100644 node_modules/is-path-cwd/package.json delete mode 100644 node_modules/is-path-cwd/readme.md (limited to 'node_modules/is-path-cwd') 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) -- cgit v1.2.3