tanyanfei 2effbd93de init 4 years ago
..
index.d.ts 2effbd93de init 4 years ago
index.js 2effbd93de init 4 years ago
license 2effbd93de init 4 years ago
package.json 2effbd93de init 4 years ago
readme.md 2effbd93de init 4 years ago

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