Irina Glushko 2389e7160b HW1 done 3 lat temu
..
index.d.ts 2389e7160b HW1 done 3 lat temu
index.js 2389e7160b HW1 done 3 lat temu
license 2389e7160b HW1 done 3 lat temu
package.json 2389e7160b HW1 done 3 lat temu
readme.md 2389e7160b HW1 done 3 lat temu

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