Kargi-Sitesi/node_modules/is-path-in-cwd
2024-11-03 21:30:09 -05:00
..
index.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
license Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
package.json Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
readme.md Deployed the page to Github Pages. 2024-11-03 21:30:09 -05: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