lunaisadev-website-old/node_modules/is-path-in-cwd
Luna 4f63b4f9a0 first commit 2021-07-27 18:40:12 -07:00
..
index.js first commit 2021-07-27 18:40:12 -07:00
license first commit 2021-07-27 18:40:12 -07:00
package.json first commit 2021-07-27 18:40:12 -07:00
readme.md first commit 2021-07-27 18:40:12 -07:00

readme.md

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