work.suroh.tk/node_modules/is-path-cwd/readme.md

474 B

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