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.
convict@6
, is ready for publishing but has not been
published yet!
For the documentation of the previous version, convict@5.x
, read
https://www.npmjs.com/package/convict
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
duration
andtimestamp
formats -
convict-format-with-validator the optional package providing the
email
,ipaddress
andurl
formats
Read the Contributing doc.