4.0.0 • Published 3 years ago

is-path-in-cwd v4.0.0

Weekly downloads
11,084,572
License
MIT
Repository
github
Last release
3 years ago

is-path-in-cwd

Check if a path is in the current working directory

Install

$ npm install is-path-in-cwd

Usage

import isPathInCwd from 'is-path-in-cwd';

isPathInCwd('unicorn');
//=> true

isPathInCwd('../rainbow');
//=> false

isPathInCwd('.');
//=> false

4.0.0

3 years ago

3.0.0

5 years ago

2.1.0

6 years ago

2.0.0

7 years ago

1.0.1

7 years ago

1.0.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago