fleet-docs/node_modules/is-path-cwd
divya-mohan0209 9de94a264c Initial commit 2022-09-22 09:54:31 +05:30
..
index.d.ts Initial commit 2022-09-22 09:54:31 +05:30
index.js Initial commit 2022-09-22 09:54:31 +05:30
license Initial commit 2022-09-22 09:54:31 +05:30
package.json Initial commit 2022-09-22 09:54:31 +05:30
readme.md Initial commit 2022-09-22 09:54:31 +05:30

readme.md

is-path-cwd Build Status

Check if a path is the current working directory

Install

$ npm install is-path-cwd

Usage

const isPathCwd = require('is-path-cwd');

isPathCwd(process.cwd());
//=> true

isPathCwd('unicorn');
//=> false

License

MIT © Sindre Sorhus