node-convict icon indicating copy to clipboard operation
node-convict copied to clipboard

Featureful configuration management library for Node.js

Node-convict

Build Status Coverage Status

Convict expands on the standard pattern of configuring node.js applications in a way that is more robust and accessible to collaborators, who may have less interest in digging through code in order to inspect or modify settings. By introducing a configuration schema, convict gives project collaborators more context on each setting and enables validation and early failures for when configuration goes wrong.

This repository is a monorepo for the following packages managed through Lerna-Lite.

Packages

  • convict : the main package

  • convict-format-with-validator the optional package providing the email, ipaddress and url formats

  • convict-format-with-moment : the optional package providing the duration and timestamp formats

Migrating

  • Migrating from Convict 5 to 6

Contributing, maintenance

For contributors and maintainers, read the Contributing doc.