path-name
v1.0.0
Published
Cross-platform PATH env name
Downloads
741,128
Readme
path-name
Cross-platform PATH env name
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