open-embodied fa48161c03 gcc 6 meses atrás
..
index.js fa48161c03 gcc 6 meses atrás
license fa48161c03 gcc 6 meses atrás
package.json fa48161c03 gcc 6 meses atrás
readme.md fa48161c03 gcc 6 meses atrás

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