Decision: Choosing a configuration library
π What is it - A decision data and discussion about the right configuration library
β° Status - Open, closed in April 1st 2022
π Corresponding discussion - Here
π―Bottom-line: our recommendation - β¨convictβ¨ ticks all the boxes by providing both strict schema, fail fast option, entry documentation and hierarchical structure
π Detailed comparison table
dotenv | Convict | nconf | config | |
---|---|---|---|---|
Executive Summary | ||||
Performance (load time for 100 keys) | 1ms | 5ms | 4ms | 5ms |
Popularity | Superior | Less popular than competitors | Highly popular | Highly popular |
β Fail fast & strict schema | No | Yes | No | No |
Items documentation | No | Yes | No | No |
Hierarchical configuration schema | No | Yes | Yes | No |
More details: Community & Popularity - March 2022 | ||||
Stars | 4200 β¨ | 2500 β¨ | 2500 β¨ | 1000 β¨ |
Downloads/Week | 12,900,223 π | 4,000,000 π | 6,000,000 π | 5,000,000 π |
Dependents | 26,000 π©βπ§ | 600 π§ | 800 π§ | 1000 π§ |