caoge c760052ff9 机车状态修改 | 8 maanden geleden | |
---|---|---|
.. | ||
index.js | 8 maanden geleden | |
license | 8 maanden geleden | |
package.json | 8 maanden geleden | |
readme.md | 8 maanden geleden |
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