RupertJS / rupert

Your friendly full stack Javascript librarian.
https://rupertjs.io
12 stars 3 forks source link

Unified configuration object #19

Closed DavidSouther closed 9 years ago

DavidSouther commented 9 years ago

The codebase is currently littered with lines like

conf.prop = process.env.PROP or config.prop or default

with some really nasty variations in list handling. Unify this, into a config object with methods like

find(key, ENV_KEY, default)

that will return and set as needed.

DavidSouther commented 9 years ago

Closed by #20