JSPM

path-name

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 277882
  • Score
    100M100P100Q156891F
  • License MIT

Cross-platform PATH env name

Package Exports

  • path-name

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (path-name) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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