wuxiang da9bc82d52 commit 2 gadi atpakaļ
..
index.d.ts da9bc82d52 commit 2 gadi atpakaļ
index.js da9bc82d52 commit 2 gadi atpakaļ
license da9bc82d52 commit 2 gadi atpakaļ
package.json da9bc82d52 commit 2 gadi atpakaļ
readme.md da9bc82d52 commit 2 gadi atpakaļ

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