bash-vars
turn a js object into something you can access from bash.
JSON is a subset of javascript, and bash-vars is a subset of bash.
//help-me-please-god.jsvar BASH =console
will output
foo=4
bar__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
api
stringify
convert js object into bash vars
parse
convert bash vars back into a js object.
License
MIT