XuelesszzZ 94af2b8e7b 6-30-5 1 rok temu
..
index.d.ts 94af2b8e7b 6-30-5 1 rok temu
index.js 94af2b8e7b 6-30-5 1 rok temu
license 94af2b8e7b 6-30-5 1 rok temu
package.json 94af2b8e7b 6-30-5 1 rok temu
readme.md 94af2b8e7b 6-30-5 1 rok 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