![]() |
пре 2 месеци | |
---|---|---|
.. | ||
index.d.ts | пре 2 месеци | |
index.js | пре 2 месеци | |
license | пре 2 месеци | |
package.json | пре 2 месеци | |
readme.md | пре 2 месеци |
Check if a path is in the current working directory
$ npm install is-path-in-cwd
const isPathInCwd = require('is-path-in-cwd');
isPathInCwd('unicorn');
//=> true
isPathInCwd('../rainbow');
//=> false
isPathInCwd('.');
//=> false
MIT © Sindre Sorhus