qconf 0.2 released

JavaScript | Node 0 No Comments

qconf is painless configuration for Node apps with defaults file, environment variables, arguments, function parameters.

defaults file < process.env < command line arguments < function call override

Install qconf and kick the tires:

New in 0.2:

  • The config object is now an event emitter, so you can easily log when a value is undefined, without sprinkling logic throughout your code. Listen for the undefined event:

  • qconf.clear() method that will clear your existing configuration so that you can load a fresh one with a subsequent call to qconf().

There’s a quick getting started guide on the previous announcement, and of course, the qconf repository on GitHub

Add Comment Register



Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">