path-key
Install
$ npm install path-keyUsage
const pathKey = require('path-key');
const key = pathKey();
//=> 'PATH'
const PATH = process.env[key];
//=> '/usr/local/bin:/usr/bin:/bin'API
pathKey(options?)
options
platform
Last updated