That reminds me of what https://www.npmjs.com/package/nconf does when converting back and forth between environment variables and nested/namespaced config objects.
~Ryan On Sat, 4 Jul 2015 at 20:01 'Kevin Ingwersen (Ingwie Phoenix)' via nodejs < [email protected]> wrote: > Imagine you are going to run a sub-process that does not understand JSON > for some reason and your configuration has ultiple levels. So what do we > do? Imagine this: > > { > foo: 1, > bar: 2 > banker: { > name: someName > } > } > > Now I would want this to become: > > foo=1 > bar=2 > banker_name=someName > > Is there a module for that? > > -- > Job board: http://jobs.nodejs.org/ > New group rules: > https://gist.github.com/othiym23/9886289#file-moderation-policy-md > Old group rules: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nodejs/76CD1215-273E-4BF3-A2B6-0C722635AD1D%40googlemail.com > . > For more options, visit https://groups.google.com/d/optout. > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CAGjmZGzFPA4zOCt8mVEDTE-18mAFwaMGn2pTC4sfZ_iPc22zfg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
