xbpf / fastconf

super simple environment-based configuration utility
1 stars 0 forks source link

allow just an array to indicate keys #3

Closed SEAPUNK closed 8 years ago

SEAPUNK commented 8 years ago

if it's an object, then it's a configuration object, with keys being under the keys prop

if it's an array, then assume defaults, and just process the array as if it were keys