包详细信息

path-name

zkochan1mMIT1.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