caoge c760052ff9 机车状态修改 8 maanden geleden
..
index.js c760052ff9 机车状态修改 8 maanden geleden
license c760052ff9 机车状态修改 8 maanden geleden
package.json c760052ff9 机车状态修改 8 maanden geleden
readme.md c760052ff9 机车状态修改 8 maanden geleden

readme.md

is-path-in-cwd Build Status

Check if a path is in the current working directory

Install

$ npm install --save is-path-in-cwd

Usage

var isPathInCwd = require('is-path-in-cwd');

isPathInCwd('unicorn');
//=> true

isPathInCwd('../rainbow');
//=> false

isPathInCwd('.');
//=> false

License

MIT © Sindre Sorhus