node/tools/eslint/node_modules/is-path-cwd
Rich Trott e313c0286b tools: update to ESLint 3.2.2
PR-URL: https://github.com/nodejs/node/pull/7999
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
2016-08-09 21:19:02 -07:00
..
index.js tools: update eslint to v1.10.3 2016-01-13 23:15:39 +01:00
package.json tools: update to ESLint 3.2.2 2016-08-09 21:19:02 -07:00
readme.md tools: update eslint to v1.10.3 2016-01-13 23:15:39 +01: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