Check if a path is in the current working directory
sh
$ npm install --save is-path-in-cwd
```js var isPathInCwd = require('is-path-in-cwd');
isPathInCwd('unicorn'); //=> true
isPathInCwd('../rainbow'); //=> false
isPathInCwd('.'); //=> false ```
MIT © Sindre Sorhus