wallet-core/node_modules/is-path-in-cwd
2016-10-10 03:43:44 +02:00
..
index.js add node_modules to address #4364 2016-10-10 03:43:44 +02:00
package.json add node_modules to address #4364 2016-10-10 03:43:44 +02:00
readme.md add node_modules to address #4364 2016-10-10 03:43:44 +02:00

is-path-in-cwd Build Status

Check if a path is in the current working directory

Install

$ npm install --save is-path-in-cwd

Usage

var isPathInCwd = require('is-path-in-cwd');

isPathInCwd('unicorn');
//=> true

isPathInCwd('../rainbow');
//=> false

License

MIT © Sindre Sorhus