electrode-io / electrode-confippet

node.js environment aware application configuration
Other
108 stars 18 forks source link

Defered value #6

Open benedyktdryl opened 8 years ago

benedyktdryl commented 8 years ago

As I can see heavy inspiration of node-config: https://github.com/lorenwest/node-config

Is is possible to provide defered value like in example below? https://github.com/lorenwest/node-config/wiki/Configuration-Files#user-content-javascript-module---js

jchip commented 8 years ago

Hi, thanks for reporting this. Yes, I can look into adding that. It's kind of possible to achieve something similar with current confippet's compose config feature.

We were in fact using node-config initially, but the requirements it caters to doesn't quite align with our requirements (at the time, not sure about now), so I wrote confippet.

benedyktdryl commented 8 years ago

Ah I missed this feature. Anyway it will be bit easier to achieve same functionality with deferred style.