node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

is-path-cwd

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