Streaming process.env writer
Simple flexible env writer.
Accepts arrays and objects as parameters to write to process.env
Require the module:
var env =
Write a single value (all three of the following are valid):
Multiple values with a single write:
env-writer will also accept json strings. So any of the above could be achieved with something like:
env-writter also handles buffers so you can pipe valid json from stdin or any other source.