Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

is-path-cwd

2.2.0 • Public • Published

is-path-cwd Build Status

Check if a path is the current working directory

Install

$ npm install is-path-cwd

Usage

const isPathCwd = require('is-path-cwd');
 
isPathCwd(process.cwd());
//=> true
 
isPathCwd('unicorn');
//=> false

License

MIT © Sindre Sorhus

Install

npm i is-path-cwd

DownloadsWeekly Downloads

8,298,251

Version

2.2.0

License

MIT

Unpacked Size

2.76 kB

Total Files

5

Last publish

Collaborators

  • avatar