You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @dshaw,
We would really like to extend_env_ to make all configuration loaded from env.json available as process.env.VAR_NAME would you accept a PR for this extension.
This would simply be a loop to itterate over the entries in env.json and add them to the process.env object using your env.set method.
(100% backward compatibility will be maintained and 100% test coverage)
Let us know.
Thanks!
The text was updated successfully, but these errors were encountered:
test('export env.json to process.env',function(t){varenv=require('..')(env_json)varkeys=Object.keys(env);keys.map(function(k){t.equal(env[k],process.env[k])})t.end()})
Hi @dshaw,
We would really like to extend _env_ to make all configuration loaded from
env.json
available asprocess.env.VAR_NAME
would you accept a PR for this extension.This would simply be a loop to itterate over the entries in
env.json
and add them to theprocess.env
object using yourenv.set
method.(100% backward compatibility will be maintained and 100% test coverage)
Let us know.
Thanks!
The text was updated successfully, but these errors were encountered: