path-name

v1.0.0
Cross-platform PATH env name
env environ path

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

npm i path-name

Metadata

  • MIT
  • Whatever
  • Zoltan Kochan
  • released 10/20/2016

Downloads

Maintainers