product/node_modules/is-path-cwd
Ruikang Zhang e96405c650 Merge remote-tracking branch 'product/product' into product 2024-04-14 10:25:28 +08:00
..
index.js Merge remote-tracking branch 'product/product' into product 2024-04-14 10:25:28 +08:00
license Merge remote-tracking branch 'product/product' into product 2024-04-14 10:25:28 +08:00
readme.md Merge remote-tracking branch 'product/product' into product 2024-04-14 10:25:28 +08:00

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