# env-path-key

> Determines the path key

Latest version **1.1.10** (published 2026-09-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install env-path-key
pnpm add env-path-key
yarn add env-path-key
bun add env-path-key
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.1.10 |
| Published | 2026-09-12 |
| First published | 2021-11-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=0.8 |
| Dependencies | 0 |
| Unpacked size | 11.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | kmalakoff |
| Keywords | env, path, key |

## Links

- npm: https://www.npmjs.com/package/env-path-key
- Repository: https://github.com/kmalakoff/env-path-key
- Homepage: https://github.com/kmalakoff/env-path-key#readme
- Issues: https://github.com/kmalakoff/env-path-key/issues
- npm.io page: https://npm.io/package/env-path-key

## Alternatives

- [replicas-cli](https://npm.io/package/replicas-cli.md) — 3.0K weekly downloads
- [env-contract](https://npm.io/package/env-contract.md) — 133 weekly downloads
- [@openveo/api](https://npm.io/package/@openveo/api.md) — 61 weekly downloads
- [@ryniaubenpm2/cumque-error-reiciendis](https://npm.io/package/@ryniaubenpm2/cumque-error-reiciendis.md) — 54 weekly downloads
- [ts-global-type-extra](https://npm.io/package/ts-global-type-extra.md) — 11 weekly downloads

## Recent versions

- 1.1.10 (latest) — 2026-09-12
- 1.1.9 — 2026-05-26
- 1.1.8 — 2025-12-12
- 1.1.7 — 2025-12-12
- 1.1.6 — 2025-12-04
- 1.1.5 — 2025-12-04
- 1.1.4 — 2025-12-02
- 1.1.3 — 2025-11-06
- 1.1.2 — 2025-10-21
- 1.1.1 — 2025-10-21
- 1.1.0 — 2025-06-29
- 1.0.20 — 2025-06-21
- 1.0.19 — 2025-06-21
- 1.0.18 — 2025-06-20
- 1.0.17 — 2025-06-18
- … 18 more at https://npm.io/package/env-path-key/versions

## README

# env-path-key

Find the environment variable name used for `PATH` on the current platform.

## Install

```sh
npm install env-path-key
```

## Use

```js
const envPathKey = require('env-path-key');

console.log(envPathKey()); // 'PATH' on POSIX, usually 'Path' on Windows
```

Pass `platform` and `env` when inspecting another environment without changing the process environment:

```js
envPathKey({ platform: 'win32', env: { pAtH: 'value' } }); // 'pAtH'
```

---
_Source: https://npm.io/package/env-path-key · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
