1.0.0 • Published 8 years ago

path-name v1.0.0

Weekly downloads
3,293
License
MIT
Repository
github
Last release
8 years ago

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