path-name
Cross-platform PATH env name
Last updated 10 years ago by zkochan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install path-name 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (10 years ago)

1 Versions

  • 1.0.0                                ...           10 years ago
Maintainers (1)
Downloads
Total 22
Today 0
This Week 1
This Month 14
Last Day 0
Last Week 6
Last Month 6
Dependencies (0)
None
Dev Dependencies (3)

© 2010 - cnpmjs.org x YWFE | Home | YWFE