|
hace 1 año | |
---|---|---|
.. | ||
index.js | hace 1 año | |
license | hace 1 año | |
package.json | hace 1 año | |
readme.md | hace 1 año |
Check if a path is in the current working directory
$ npm install --save is-path-in-cwd
var isPathInCwd = require('is-path-in-cwd');
isPathInCwd('unicorn');
//=> true
isPathInCwd('../rainbow');
//=> false
isPathInCwd('.');
//=> false
MIT © Sindre Sorhus