travel/admin/node_modules/is-path-cwd
yaosen 242417d45d init... 2024-06-24 11:28:18 +08:00
..
index.js init... 2024-06-24 11:28:18 +08:00
package.json init... 2024-06-24 11:28:18 +08:00
readme.md init... 2024-06-24 11:28:18 +08:00

readme.md

is-path-cwd Build Status

Check if a path is CWD

Install

$ npm install --save is-path-cwd

Usage

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

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

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

License

MIT © Sindre Sorhus