139b78c139cf0399b5551ae9ec2c5e56378fbbd04d1f051376beb6067185cafa183f3da5da54b728e3f8b4ef8e415fd4266c6216535810c20e75711f66c85a 495 B

12345678910111213141516171819202122232425262728
  1. # is-path-cwd [![Build Status](https://travis-ci.org/sindresorhus/is-path-cwd.svg?branch=master)](https://travis-ci.org/sindresorhus/is-path-cwd)
  2. > Check if a path is the [current working directory](https://en.wikipedia.org/wiki/Working_directory)
  3. ## Install
  4. ```
  5. $ npm install is-path-cwd
  6. ```
  7. ## Usage
  8. ```js
  9. const isPathCwd = require('is-path-cwd');
  10. isPathCwd(process.cwd());
  11. //=> true
  12. isPathCwd('unicorn');
  13. //=> false
  14. ```
  15. ## License
  16. MIT © [Sindre Sorhus](https://sindresorhus.com)