You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
homestay/minsu/admin/node_modules/is-path-in-cwd
ytt 2545d38280
代码
8 months ago
..
index.d.ts 代码 8 months ago
index.js 代码 8 months ago
license 代码 8 months ago
package.json 代码 8 months ago
readme.md 代码 8 months ago

readme.md

is-path-in-cwd Build Status

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