lhl 6ff0e96ad3 8-4-1 1 rok pred
..
node_modules 6ff0e96ad3 8-4-1 1 rok pred
index.d.ts 6ff0e96ad3 8-4-1 1 rok pred
index.js 6ff0e96ad3 8-4-1 1 rok pred
license 6ff0e96ad3 8-4-1 1 rok pred
package.json 6ff0e96ad3 8-4-1 1 rok pred
readme.md 6ff0e96ad3 8-4-1 1 rok pred

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