eslint-config-lemon
Version:
<div align="center"> <br> <img width="400" src="logo.svg"> <br> <br> </div>
29 lines (16 loc) • 495 B
Markdown
> Check if a path is the [current working directory](https://en.wikipedia.org/wiki/Working_directory)
```
$ npm install is-path-cwd
```
```js
const isPathCwd = require('is-path-cwd');
isPathCwd(process.cwd());
//=> true
isPathCwd('unicorn');
//=> false
```
MIT © [Sindre Sorhus](https://sindresorhus.com)