{"_id":"is-path-cwd","_rev":"186489","name":"is-path-cwd","description":"Check if a path is the current working directory","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2022-10-18T11:30:51.000Z","created":"2014-06-19T09:53:17.658Z","3.0.0":"2021-08-11T12:54:54.452Z","2.2.0":"2019-07-05T17:21:06.182Z","2.1.0":"2019-04-20T07:59:21.705Z","2.0.0":"2018-03-22T15:36:10.886Z","1.0.0":"2014-08-14T09:47:37.874Z","0.1.0":"2014-06-19T09:53:17.658Z"},"users":{},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-path-cwd.git"},"versions":{"3.0.0":{"name":"is-path-cwd","version":"3.0.0","description":"Check if a path is the current working directory","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-path-cwd.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["path","cwd","pwd","check","filepath","file","folder"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.44.0"},"gitHead":"a052163c5065fe2fec7b282564e04cb4b3e70706","bugs":{"url":"https://github.com/sindresorhus/is-path-cwd/issues"},"homepage":"https://github.com/sindresorhus/is-path-cwd#readme","_id":"is-path-cwd@3.0.0","_nodeVersion":"16.2.0","_npmVersion":"7.10.0","dist":{"shasum":"889b41e55c8588b1eb2a96a61d05740a674521c7","size":1753,"noattachment":false,"key":"/is-path-cwd/-/is-path-cwd-3.0.0.tgz","tarball":"http://name.csiicloud.com:7001/is-path-cwd/download/is-path-cwd-3.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-path-cwd_3.0.0_1628686494342_0.20161420114154405"},"_hasShrinkwrap":false,"publish_time":1628686494452,"_cnpm_publish_time":1628686494452,"_cnpmcore_publish_time":"2021-12-13T17:00:16.663Z"},"2.2.0":{"name":"is-path-cwd","version":"2.2.0","description":"Check if a path is the current working directory","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-path-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"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"d4d1b6174ab30017d476b0210a5b01e69b3c076a","bugs":{"url":"https://github.com/sindresorhus/is-path-cwd/issues"},"homepage":"https://github.com/sindresorhus/is-path-cwd#readme","_id":"is-path-cwd@2.2.0","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"67d43b82664a7b5191fd9119127eb300048a9fdb","size":1560,"noattachment":false,"key":"/is-path-cwd/-/is-path-cwd-2.2.0.tgz","tarball":"http://name.csiicloud.com:7001/is-path-cwd/download/is-path-cwd-2.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-path-cwd_2.2.0_1562347266074_0.8247780777418467"},"_hasShrinkwrap":false,"publish_time":1562347266182,"_cnpm_publish_time":1562347266182},"2.1.0":{"name":"is-path-cwd","version":"2.1.0","description":"Check if a path is the current working directory","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-path-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"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"975502785291dac455eb9f0cd2da196564240dbb","bugs":{"url":"https://github.com/sindresorhus/is-path-cwd/issues"},"homepage":"https://github.com/sindresorhus/is-path-cwd#readme","_id":"is-path-cwd@2.1.0","_nodeVersion":"8.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"2e0c7e463ff5b7a0eb60852d851a6809347a124c","size":1492,"noattachment":false,"key":"/is-path-cwd/-/is-path-cwd-2.1.0.tgz","tarball":"http://name.csiicloud.com:7001/is-path-cwd/download/is-path-cwd-2.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-path-cwd_2.1.0_1555747161479_0.6607062934508494"},"_hasShrinkwrap":false,"publish_time":1555747161705,"_cnpm_publish_time":1555747161705},"2.0.0":{"name":"is-path-cwd","version":"2.0.0","description":"Check if a path is CWD","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-path-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"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"0ffd9c312b517b0067597e369d3e370361263578","bugs":{"url":"https://github.com/sindresorhus/is-path-cwd/issues"},"homepage":"https://github.com/sindresorhus/is-path-cwd#readme","_id":"is-path-cwd@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"d4777a8e227a00096a31f030db3770f84b116c02","size":1376,"noattachment":false,"key":"/is-path-cwd/-/is-path-cwd-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/is-path-cwd/download/is-path-cwd-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-path-cwd_2.0.0_1521732970847_0.6802231486154835"},"_hasShrinkwrap":false,"publish_time":1521732970886,"_cnpm_publish_time":1521732970886},"1.0.0":{"name":"is-path-cwd","version":"1.0.0","description":"Check if a path is CWD","license":"MIT","repository":{"type":"git","url":"https://github.com/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":"*"},"gitHead":"f71d4ecaa43bfe23c9cb35af6bf31e6b5b3f04eb","bugs":{"url":"https://github.com/sindresorhus/is-path-cwd/issues"},"homepage":"https://github.com/sindresorhus/is-path-cwd","_id":"is-path-cwd@1.0.0","_shasum":"d225ec23132e89edd38fda767472e62e65f1106d","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"d225ec23132e89edd38fda767472e62e65f1106d","size":745,"noattachment":false,"key":"/is-path-cwd/-/is-path-cwd-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/is-path-cwd/download/is-path-cwd-1.0.0.tgz"},"directories":{},"publish_time":1408009657874,"_cnpm_publish_time":1408009657874,"_hasShrinkwrap":false},"0.1.0":{"name":"is-path-cwd","version":"0.1.0","description":"Check if a path is CWD","license":"MIT","repository":{"type":"git","url":"git://github.com/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":"*"},"bugs":{"url":"https://github.com/sindresorhus/is-path-cwd/issues"},"homepage":"https://github.com/sindresorhus/is-path-cwd","_id":"is-path-cwd@0.1.0","_shasum":"df3c09a7cab10bd40b9d1cdfae485bd882d4b1ab","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"df3c09a7cab10bd40b9d1cdfae485bd882d4b1ab","size":743,"noattachment":false,"key":"/is-path-cwd/-/is-path-cwd-0.1.0.tgz","tarball":"http://name.csiicloud.com:7001/is-path-cwd/download/is-path-cwd-0.1.0.tgz"},"directories":{},"publish_time":1403171597658,"_cnpm_publish_time":1403171597658,"_hasShrinkwrap":false}},"readme":"# is-path-cwd\n\n> Check if a path is the [current working directory](https://en.wikipedia.org/wiki/Working_directory)\n\n## Install\n\n```\n$ npm install is-path-cwd\n```\n\n## Usage\n\n```js\nimport isPathCwd from 'is-path-cwd';\n\nisPathCwd(process.cwd());\n//=> true\n\nisPathCwd('unicorn');\n//=> false\n```\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-is-path-cwd?utm_source=npm-is-path-cwd&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n","_attachments":{},"homepage":"https://github.com/sindresorhus/is-path-cwd#readme","bugs":{"url":"https://github.com/sindresorhus/is-path-cwd/issues"},"license":"MIT"}