Mohammad Asif cf937194cb Removed un-waned things 1. 2 jaren geleden
..
node_modules cf937194cb Removed un-waned things 1. 2 jaren geleden
index.d.ts cf937194cb Removed un-waned things 1. 2 jaren geleden
index.js cf937194cb Removed un-waned things 1. 2 jaren geleden
license cf937194cb Removed un-waned things 1. 2 jaren geleden
package.json cf937194cb Removed un-waned things 1. 2 jaren geleden
readme.md cf937194cb Removed un-waned things 1. 2 jaren 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