convert JSON to a format that is easy to read in BASH.
turn a js object into something you can access from bash.
//help-me-please-god.jsvar BASH = require'bash-vars'console.logBASHstringifyfoo: 4bar:baz: 'hello'
and then access that in bash like this...
# source the output of the node script...# you have to output to a file, because BASH.node help-me-please-god.js > config. configrm configecho $fooecho $bar__baz
convert js object into bash vars
convert bash vars back into a js object.