NodeJS

confmgr

I am happy to announce the release of confmgr. You may visit the repo, directly install its NPM package or follow me for a gentle introduction. 1. The problem There are several ways to manage various configurations in your NodeJS App. One of them is about using Environment Variables. Invoking your index.js as follow: MY_VAR1=42 node index.js makes MY_VAR1 available to your script with the following code:

confmgr

confmgr is (yet another) configuration manager for your NodeJS apps. It is written in Typescript and thus supports Typescript as well as Javascript. Why another one? confmgr brings interesting features that are not available in libs. While focusing on ease of use, it brings features that no longer need to be part of your app such as: Features at a glance type conversion (variables from ENV are always strings, confmgr converts them for you)