path-name

1.0.0 • Public • Published

path-name

Cross-platform PATH env name

npm version Build Status

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

Installation

npm i -S path-name

Example

const PATH = require('path-name')
 
// On Linux and OSX
console.log(PATH)
// > PATH
 
// On Windows (usually, not allways)
console.log(PATH)
// > Path

License

MIT © Zoltan Kochan

Readme

Keywords

Package Sidebar

Install

npm i path-name

Weekly Downloads

242,893

Version

1.0.0

License

MIT

Last publish

Collaborators

  • zkochan