$ npm install bare-env
Environment variable support for JavaScript.
npm i bare-env
const env = require('bare-env') console.log(env.PATH)
Apache-2.0