qconf 0.1.2 Released

JavaScript | Node 0 No Comments

qconf on Github

Painless configuration for Node apps with defaults file, environment variables, arguments, function parameters.

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

 

Getting started

Install qconf:

Create your config object:

Extra credit

Create a JSON file: ./config/config.json

Maybe source some environment variables:

Try a command-line option:

Result

Painless configuration for your apps!

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="">