updated npm modules
This commit is contained in:
+5
-5
@@ -1,19 +1,19 @@
|
||||
# is-path-cwd [](https://travis-ci.org/sindresorhus/is-path-cwd)
|
||||
|
||||
> Check if a path is [CWD](http://en.wikipedia.org/wiki/Working_directory)
|
||||
> Check if a path is the [current working directory](https://en.wikipedia.org/wiki/Working_directory)
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```sh
|
||||
$ npm install --save is-path-cwd
|
||||
```
|
||||
$ npm install is-path-cwd
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var isPathCwd = require('is-path-cwd');
|
||||
const isPathCwd = require('is-path-cwd');
|
||||
|
||||
isPathCwd(process.cwd());
|
||||
//=> true
|
||||
@@ -25,4 +25,4 @@ isPathCwd('unicorn');
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](http://sindresorhus.com)
|
||||
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
||||
|
||||
Reference in New Issue
Block a user