Irina Glushko 2389e7160b HW1 done 3 år sedan
..
index.d.ts 2389e7160b HW1 done 3 år sedan
index.js 2389e7160b HW1 done 3 år sedan
license 2389e7160b HW1 done 3 år sedan
package.json 2389e7160b HW1 done 3 år sedan
readme.md 2389e7160b HW1 done 3 år sedan

readme.md

is-path-in-cwd Build Status

Check if a path is in the current working directory

Install

$ npm install is-path-in-cwd

Usage

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

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

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

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

License

MIT © Sindre Sorhus