{"_id":"@cjser/is-path-in-cwd","name":"@cjser/is-path-in-cwd","dist-tags":{"latest":"4.0.0-cjser.2"},"versions":{"4.0.0-cjser.2":{"name":"@cjser/is-path-in-cwd","version":"4.0.0-cjser.2","description":"Check if a path is in the current working directory","license":"MIT","repository":{"type":"git","url":"https://code.moenext.com/3rdeye/cjser.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"require":"./dist-cjser/index.cjs","default":"./index.js"},"engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["path","cwd","pwd","check","filepath","file","folder","in","inside"],"dependencies":{"@cjser/is-path-inside":"4.0.0-cjser.2"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.39.1"},"main":"./dist-cjser/index.cjs","cjser":{"sourceVersion":"4.0.0","cjserVersion":2,"original":{"name":"is-path-in-cwd","version":"4.0.0","exports":"./index.js","repository":"sindresorhus/is-path-in-cwd","dependencies":{"is-path-inside":"^4.0.0"},"files":["index.js","index.d.ts"],"scripts":{"test":"xo && ava && tsd"}}},"_id":"@cjser/is-path-in-cwd@4.0.0-cjser.2","gitHead":"a4bef54d7d22d3d9a6b84528457938d84cd65fe7","_nodeVersion":"20.14.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-pVRoJSFvGFdrRMccYLv36RP6HNSA/+a8plQCXiTuEk1QXTvVLGRw94MTsHePqILpQ1ma6v8EJ48b2bLhvuvU5w==","shasum":"8a68af15851d4ad5db3f452d3ad9940f162fa7a0","tarball":"https://registry.npmjs.org/@cjser/is-path-in-cwd/-/is-path-in-cwd-4.0.0-cjser.2.tgz","fileCount":6,"unpackedSize":5912,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBzcUoqyYD9k5CInd/avMkygvWY7/h4BVLMMa/do6kLFAiArGRLBc71yYfKxbzKHb2kr+0jgb2ELXKZWZc7LFqZrXQ=="}]},"_npmUser":{"name":"nanahira","email":"nanahira@momobako.com"},"directories":{},"maintainers":[{"name":"nanahira","email":"nanahira@momobako.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/is-path-in-cwd_4.0.0-cjser.2_1778158782050_0.9644538940146754"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-07T12:59:41.956Z","4.0.0-cjser.2":"2026-05-07T12:59:42.201Z","modified":"2026-05-07T12:59:42.464Z"},"maintainers":[{"name":"nanahira","email":"nanahira@momobako.com"}],"description":"Check if a path is in the current working directory","keywords":["path","cwd","pwd","check","filepath","file","folder","in","inside"],"repository":{"type":"git","url":"https://code.moenext.com/3rdeye/cjser.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"license":"MIT","readme":"# 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## Install\n\n```\n$ npm install is-path-in-cwd\n```\n\n## Usage\n\n```js\nimport isPathInCwd from 'is-path-in-cwd';\n\nisPathInCwd('unicorn');\n//=> true\n\nisPathInCwd('../rainbow');\n//=> false\n\nisPathInCwd('.');\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-in-cwd?utm_source=npm-is-path-in-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\n## cjser\n\nThis package is a CommonJS-compatible build generated by cjser for projects that still need `require()` support. The source version matches the original npm package version, with a cjser prerelease suffix for this generated build.\nOriginal repository: https://github.com/sindresorhus/is-path-in-cwd\n","readmeFilename":"readme.md","_rev":"1-37ede0522eefe75d7c9854f133b4683b"}