Consistent-PATH
consistent-path
is an npm module that makes sure that you get the correct $PATH
value even on GUI apps on OSX. It does not modify the globals and caches the result to avoid unnecessary work.
API
module: stringmodule.exports.async = function(): Promise<string>
Example Usage
const assign = Objectassign || const env = console
Differences to other packages
Differences to atom-community/environment:
- See atom-linter#62
Differences to sindresorhus/fix-path
fix-path
modifies globalsfix-path
has duplication of work when multiple modules use it as there's no caching in place
LICENSE
This project is licensed under the terms of MIT License