You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://www.npmjs.com/package/hi-config
Has saving and reloading, but problems are that it has no github repository (despite being "MIT" licensed) and the property storage is flat.
Rest of the node modules were even more lacking, so have to write one mostly written from scratch. Considering taking the useful parts out of node-config and expanding the remainder in order to get clean two-way saving.
Would be nice to have internal isolation between "defaults" and actual configured settings. Maybe most flexible approach would be to make a single file loader class, and then make another class capable of accessing multiple nested config classes within (in failover).
Allow retrieving shared configs - this would be useful in order to implementing basicbot.
Might be worth investigating if the config system itself can be made flexible such as allowing a file per plugin, or using a database - with the design I have in mind, it won't be much of an extension but will have to be thought out ahead of time to save having to redo parts.
No description provided.
The text was updated successfully, but these errors were encountered: