subenv
v1.0.0
Published
Returns all the environment variables that are prefixed with the specified value
Downloads
4
Readme
subenv
Returns all the environment variables that are prefixed with the specified value
Installation
npm i -S subenv
Usage
'use strict'
const subenv = require('subenv')
process.env.capitals_USA = 'Washington'
process.env.capitals_hungary = 'Budapest'
console.log(subenv('capitals'))
//> { usa: 'Washington', hungary: 'Budapest' }