1.0.0 • Published 8 years ago
env-array v1.0.0
env-array
Create an array based on the process.env.NODE_ENV
value.
Usage
import envArray from 'envArray'
envArray({
common: [
// This will always be part of the result
],
development: [
// Included if `process.env.NODE_ENV === 'development'`
],
someOtherEnvName: []
}) // => []
License
MIT © Henrik Wenz
1.0.0
8 years ago