# path-name

> Cross-platform PATH env name

Latest version **1.0.0** (published 2016-10-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install path-name
pnpm add path-name
yarn add path-name
bun add path-name
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-10-20 |
| First published | 2016-10-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Zoltan Kochan |
| Maintainers | zkochan |
| Keywords | env, environ, path |

## Links

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

## 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.0.0 (latest) — 2016-10-20

## README

# path-name

> Cross-platform PATH env name

<!--@shields('npm', 'travis')-->
[![npm version](https://img.shields.io/npm/v/path-name.svg)](https://www.npmjs.com/package/path-name) [![Build Status](https://img.shields.io/travis/zkochan/path-name/master.svg)](https://travis-ci.org/zkochan/path-name)
<!--/@-->

The PATH environment variable name is different on different operating systems. This package will return the variable name on the current system.

## Installation

```sh
npm i -S path-name
```

## Example

```js
const PATH = require('path-name')

// On Linux and OSX
console.log(PATH)
// > PATH

// On Windows (usually, not allways)
console.log(PATH)
// > Path
```

## License

[MIT](./LICENSE) © Zoltan Kochan

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