{ "_id": "is-path-in-cwd", "_rev": "14-0d7bf3e715a4fb71e6d8e72eb8dde069", "name": "is-path-in-cwd", "description": "Check if a path is in the current working directory", "dist-tags": { "latest": "3.0.0" }, "versions": { "0.1.0": { "name": "is-path-in-cwd", "version": "0.1.0", "description": "Check if a path is in CWD", "license": "MIT", "repository": { "type": "git", "url": "git://github.com/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": { "path-is-inside": "^1.0.1" }, "devDependencies": { "mocha": "*" }, "bugs": { "url": "https://github.com/sindresorhus/is-path-in-cwd/issues" }, "homepage": "https://github.com/sindresorhus/is-path-in-cwd", "_id": "is-path-in-cwd@0.1.0", "_shasum": "bcb14e837baa5b75fbc16a784c531c08d0e2e7c0", "_from": ".", "_npmVersion": "1.4.9", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "dist": { "shasum": "bcb14e837baa5b75fbc16a784c531c08d0e2e7c0", "tarball": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-0.1.0.tgz" }, "directories": {} }, "0.1.1": { "name": "is-path-in-cwd", "version": "0.1.1", "description": "Check if a path is in the current working directory", "license": "MIT", "repository": { "type": "git", "url": "git://github.com/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": "^0.1.0" }, "devDependencies": { "mocha": "*" }, "bugs": { "url": "https://github.com/sindresorhus/is-path-in-cwd/issues" }, "homepage": "https://github.com/sindresorhus/is-path-in-cwd", "_id": "is-path-in-cwd@0.1.1", "_shasum": "aa91ec89e13d63e3efc6847cac4cf29c99f92465", "_from": ".", "_npmVersion": "1.4.9", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "dist": { "shasum": "aa91ec89e13d63e3efc6847cac4cf29c99f92465", "tarball": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-0.1.1.tgz" }, "directories": {} }, "1.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": { "type": "git", "url": "https://github.com/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": "*" }, "gitHead": "a5a2a7c967eae3f6faee9ab5e40abca6127d55de", "bugs": { "url": "https://github.com/sindresorhus/is-path-in-cwd/issues" }, "homepage": "https://github.com/sindresorhus/is-path-in-cwd", "_id": "is-path-in-cwd@1.0.0", "_shasum": "6477582b8214d602346094567003be8a9eac04dc", "_from": ".", "_npmVersion": "1.4.21", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "dist": { "shasum": "6477582b8214d602346094567003be8a9eac04dc", "tarball": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.0.tgz" }, "directories": {} }, "1.0.1": { "name": "is-path-in-cwd", "version": "1.0.1", "description": "Check if a path is in the current working directory", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/is-path-in-cwd.git" }, "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": "*" }, "gitHead": "9b895e1d6be32a7b6bbb1025b388b0231c770f4c", "bugs": { "url": "https://github.com/sindresorhus/is-path-in-cwd/issues" }, "homepage": "https://github.com/sindresorhus/is-path-in-cwd#readme", "_id": "is-path-in-cwd@1.0.1", "_npmVersion": "5.6.0", "_nodeVersion": "8.9.4", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "integrity": "sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ==", "shasum": "5ac48b345ef675339bd6c7a48a912110b241cf52", "tarball": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz", "fileCount": 4, "unpackedSize": 2478 }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/is-path-in-cwd_1.0.1_1521732435076_0.22649393579957922" }, "_hasShrinkwrap": false }, "2.0.0": { "name": "is-path-in-cwd", "version": "2.0.0", "description": "Check if a path is in the current working directory", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/is-path-in-cwd.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "engines": { "node": ">=6" }, "scripts": { "test": "xo && ava" }, "files": [ "index.js" ], "keywords": [ "path", "cwd", "pwd", "check", "filepath", "file", "folder", "in", "inside" ], "dependencies": { "is-path-inside": "^1.0.0" }, "devDependencies": { "ava": "*", "xo": "*" }, "gitHead": "61fdb07d6f1fe7abe3c39d52f4561b19fc4ec877", "bugs": { "url": "https://github.com/sindresorhus/is-path-in-cwd/issues" }, "homepage": "https://github.com/sindresorhus/is-path-in-cwd#readme", "_id": "is-path-in-cwd@2.0.0", "_npmVersion": "5.6.0", "_nodeVersion": "8.9.4", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "integrity": "sha512-6Vz5Gc9s/sDA3JBVu0FzWufm8xaBsqy1zn8Q6gmvGP6nSDMw78aS4poBNeatWjaRpTpxxLn1WOndAiOlk+qY8A==", "shasum": "68e452a6eec260500cec21e029c0a44cc0dcd2ea", "tarball": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-2.0.0.tgz", "fileCount": 4, "unpackedSize": 2398 }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/is-path-in-cwd_2.0.0_1521732760288_0.42592476997699125" }, "_hasShrinkwrap": false }, "2.1.0": { "name": "is-path-in-cwd", "version": "2.1.0", "description": "Check if a path is in the current working directory", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/is-path-in-cwd.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "engines": { "node": ">=6" }, "scripts": { "test": "xo && ava && tsd" }, "keywords": [ "path", "cwd", "pwd", "check", "filepath", "file", "folder", "in", "inside" ], "dependencies": { "is-path-inside": "^2.1.0" }, "devDependencies": { "ava": "^1.4.1", "tsd": "^0.7.2", "xo": "^0.24.0" }, "gitHead": "45d726181fc40890e2696cc4f354420c71262f1a", "bugs": { "url": "https://github.com/sindresorhus/is-path-in-cwd/issues" }, "homepage": "https://github.com/sindresorhus/is-path-in-cwd#readme", "_id": "is-path-in-cwd@2.1.0", "_nodeVersion": "8.16.0", "_npmVersion": "6.9.0", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "integrity": "sha512-rNocXHgipO+rvnP6dk3zI20RpOtrAM/kzbB258Uw5BWr3TpXi861yzjo16Dn4hUox07iw5AyeMLHWsujkjzvRQ==", "shasum": "bfe2dca26c69f397265a4009963602935a053acb", "tarball": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-2.1.0.tgz", "fileCount": 5, "unpackedSize": 2806, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcutGmCRA9TVsSAnZWagAA+z4P/jsv7Ap87qCIRrPHW9fe\nBVYV9PwXafb81at8A287mETDcnnLEEps9V1xPKHfFqh9KLdtrcchlZnZ+FIQ\n1dme7ZEr2ZCF7xmbhdOpcfQAkoQgDf9mE8dxfsZLQdE6+fC90x3GJ/Mkjxzo\nuUngCXmV2ZhrZYN4sUjmwynAAKv91oKI7aEYfbEmQE+2U1o2M/pJZoBw0+EP\nKkqMJDFb+KOqn49TUgtKdxe/soZ94WhiQSG+ZV3oCzrNf69ucTN5ALnEq+oX\n93Lw/Bvh8vUziqPATQaM2eDsYGnZm4KkW29CiA1/7JBPdUg4BMqniW16MgdZ\nmfNEizQmoDu0lqzPiIAl91cAVX7qcOe8ApN8r2m+lY6caH8L+D+2624k9CGb\nHE4usBbX16EpmPWA+MJAN0uY7YFBvMUqBY+mn4/BzljoFIi3PrRMzDnV7Pr+\n7P9eBZhnNWhk088ku9PuzEfpKj14mg3GtP7jhbFhe1EEeH4m+puQBAdEkG8y\nWbGSkbAz7+fkBA7T9dQDji7450MEUnnI6kwtVcGqGXicdDFmLS7oiEeWSbBr\n0WHDODfnX/1d/oWj/AitoIoAaGoMB0vQW3i9nfVYVZQtQiTSpm1kVhKON4Wl\nCUkaaUOVYZM/iBiaH/PS2HLDSqXAGyhJolxcbz9iU6AgtTA/XfNB0qfu/ZPS\n3BB3\r\n=Ef9e\r\n-----END PGP SIGNATURE-----\r\n" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/is-path-in-cwd_2.1.0_1555747237866_0.8140683542516973" }, "_hasShrinkwrap": false }, "3.0.0": { "name": "is-path-in-cwd", "version": "3.0.0", "description": "Check if a path is in the current working directory", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/is-path-in-cwd.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "engines": { "node": ">=8" }, "scripts": { "test": "xo && ava && tsd" }, "keywords": [ "path", "cwd", "pwd", "check", "filepath", "file", "folder", "in", "inside" ], "dependencies": { "is-path-inside": "^3.0.1" }, "devDependencies": { "ava": "^2.1.0", "tsd": "^0.7.3", "xo": "^0.24.0" }, "gitHead": "a8a951e33b65ddc8613c2cb4bc3f0769ab3e888b", "bugs": { "url": "https://github.com/sindresorhus/is-path-in-cwd/issues" }, "homepage": "https://github.com/sindresorhus/is-path-in-cwd#readme", "_id": "is-path-in-cwd@3.0.0", "_nodeVersion": "12.3.1", "_npmVersion": "6.9.0", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "integrity": "sha512-QGuLYLNfpHI/xLQ8ctyeD9mMCf2eBqrtxYWKQxlExrD0l3wBSDcplKYfV55lnTDB4MDvh9SRDt/VnDwVn0dYOw==", "shasum": "bab310ce75ceafe848ff4eb789573afb935c4cb0", "tarball": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-3.0.0.tgz", "fileCount": 5, "unpackedSize": 2743, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdH4ahCRA9TVsSAnZWagAAKNUQAIGqAdcCwnwAL/I9RfmM\nkQeJ0PKJ0aL3TTdFmfjj8zBBwmEu9L3Rx1L+ssH7ymhaKT07pHKjAJdSHiUa\nInygPiTv+G1uYd7ND/en/8TeNxN1O5bYCYKsKR3pmwmn8s2D5D/mPdaDmLMm\nQLScRensmJ9SOY2DwHyvdIHMCKZDw190HQI8mJvZi8uEh+yKRL+CbweMeRXX\nHvdmFw2+k6WrCCetFBStxr2oWhsJVVqqBY4oyQQ2wwo6szAZ+zZEXB+tfDJl\n2RKu+nPD2Rem+GXgPMjd3GxZynhlGG19wavL46BPV8wTxRTquYSnAYe6tQ5+\nH+Xqq2TvlNJehnOUKFw8DDB+CIe3r+riOgl/JAFwganFhEImcFny8ArD15AS\nIq8o+f0hgtnnNfl429pI78AGBMc1RtQ6Lf6YNrnLq7bOCOpF01K9iexIti1h\nq+x8EI56YM8TUUrn6nDpNV1W1b7BqdbpNRYEMva8YqoBR8i1cdn9PPq6SJ7G\nsMcNSZkihw/J8IaZD/GMlJrme18RF2kO4hnYL+s+7aZRd6NSd4aCufhH/iqC\nAAuViaghwLNZKsIU0RR0GwFYtLgDed08IFMXj2v7ivrPSm4KIhAwQDRDY5w3\nraAqB6yRk/P8We1on5gfsfryNuM6ra/YSWItXMJ0rUR9vn5gmoSsLNJKriKk\njhs7\r\n=Vj5F\r\n-----END PGP SIGNATURE-----\r\n" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "directories": {}, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/is-path-in-cwd_3.0.0_1562347168524_0.7469362048907628" }, "_hasShrinkwrap": false } }, "readme": "# is-path-in-cwd [![Build Status](https://travis-ci.org/sindresorhus/is-path-in-cwd.svg?branch=master)](https://travis-ci.org/sindresorhus/is-path-in-cwd)\n\n> Check if a path is in the [current working directory](https://en.wikipedia.org/wiki/Working_directory)\n\n\n## Install\n\n```\n$ npm install is-path-in-cwd\n```\n\n\n## Usage\n\n```js\nconst isPathInCwd = require('is-path-in-cwd');\n\nisPathInCwd('unicorn');\n//=> true\n\nisPathInCwd('../rainbow');\n//=> false\n\nisPathInCwd('.');\n//=> false\n```\n", "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "time": { "modified": "2019-07-05T17:19:31.285Z", "created": "2014-06-19T10:24:31.510Z", "0.1.0": "2014-06-19T10:24:31.510Z", "0.1.1": "2014-06-20T22:22:47.285Z", "1.0.0": "2014-08-14T09:48:13.980Z", "1.0.1": "2018-03-22T15:27:15.163Z", "2.0.0": "2018-03-22T15:32:40.670Z", "2.1.0": "2019-04-20T08:00:38.003Z", "3.0.0": "2019-07-05T17:19:28.624Z" }, "homepage": "https://github.com/sindresorhus/is-path-in-cwd#readme", "keywords": [ "path", "cwd", "pwd", "check", "filepath", "file", "folder", "in", "inside" ], "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/is-path-in-cwd.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "bugs": { "url": "https://github.com/sindresorhus/is-path-in-cwd/issues" }, "license": "MIT", "readmeFilename": "readme.md", "users": { "itonyyo": true, "rocket0191": true } }