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.
[email protected]) to multi-package structure
(beginning with convict@6).
See https://www.npmjs.com/package/convict for [email protected] documentation
This repository is a monorepo for the following packages managed through Lerna.
-
convict : the main package
-
convict-format-with-moment : the optional package providing the
durationandtimestampformats -
convict-format-with-validator the optional package providing the
email,ipaddressandurlformats
Read the Contributing doc.