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

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