tree: 879c8e5da2143b5b7d10ce6c3424cdfa428bf03b [path history] [tgz]
  1. index.d.ts
  2. index.js
  3. license
  4. package.json
  5. readme.md
node_modules/is-path-cwd/readme.md

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