Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/path-key/readme.md')
-rw-r--r--node_modules/path-key/readme.md20
1 files changed, 15 insertions, 5 deletions
diff --git a/node_modules/path-key/readme.md b/node_modules/path-key/readme.md
index cb5710aac..a9052d7a6 100644
--- a/node_modules/path-key/readme.md
+++ b/node_modules/path-key/readme.md
@@ -8,7 +8,7 @@ It's usually `PATH`, but on Windows it can be any casing like `Path`...
## Install
```
-$ npm install --save path-key
+$ npm install path-key
```
@@ -27,13 +27,15 @@ const PATH = process.env[key];
## API
-### pathKey([options])
+### pathKey(options?)
#### options
+Type: `object`
+
##### env
-Type: `Object`<br>
+Type: `object`<br>
Default: [`process.env`](https://nodejs.org/api/process.html#process_process_env)
Use a custom environment variables object.
@@ -46,6 +48,14 @@ Default: [`process.platform`](https://nodejs.org/api/process.html#process_proces
Get the PATH key for a specific platform.
-## License
+---
-MIT © [Sindre Sorhus](https://sindresorhus.com)
+<div align="center">
+ <b>
+ <a href="https://tidelift.com/subscription/pkg/npm-path-key?utm_source=npm-path-key&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
+ </b>
+ <br>
+ <sub>
+ Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
+ </sub>
+</div>