source: trip-planner-front/node_modules/is-path-cwd/readme.md@ bdd6491

Last change on this file since bdd6491 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 495 bytes
RevLine 
[6a3a178]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
3> Check if a path is the [current working directory](https://en.wikipedia.org/wiki/Working_directory)
4
5
6## Install
7
8```
9$ npm install is-path-cwd
10```
11
12
13## Usage
14
15```js
16const isPathCwd = require('is-path-cwd');
17
18isPathCwd(process.cwd());
19//=> true
20
21isPathCwd('unicorn');
22//=> false
23```
24
25
26## License
27
28MIT © [Sindre Sorhus](https://sindresorhus.com)
Note: See TracBrowser for help on using the repository browser.