Feuerwehr-eppingen/node_modules/is-path-in-cwd
2020-06-04 13:20:10 +02:00
..
index.js Umzug auf Synology NAS 2020-06-04 13:20:10 +02:00
license Umzug auf Synology NAS 2020-06-04 13:20:10 +02:00
package.json Umzug auf Synology NAS 2020-06-04 13:20:10 +02:00
readme.md Umzug auf Synology NAS 2020-06-04 13:20:10 +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

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

License

MIT © Sindre Sorhus