0.0.10 • Published 6 years ago
json-to-env v0.0.10
json-to-env

Convert json to key-value environment pairs
Install
$ npm install --save json-to-envor
$ npm install -g json-to-envUsage
$ json-to-env <inputfile.json> <outputfile.config> <options>How it works
Given an json input file it will output a text file of your naming, e.g.
input example:
{
"test1": "a test",
"testTheTest": "another test",
"nested": {
"test3": "hello",
"a_new_one": "goodbye"
}output:
export TEST1="a test"
export TEST_THE_TEST="another test"
export NESTED_TEST3="hello"
export NESTED_A_NEW_ONE="goodbye"License
Unlicense © R.A. Lucas