mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 08:25:14 +00:00
.. | ||
index.d.ts | ||
index.js | ||
license | ||
package.json | ||
readme.md |
is-path-in-cwd
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