Skip to content
JS
Comparison

convict vs envalid

ConfigurationPackage data 25 Sept 2026
convictv6.2.5, 19 Mar 2026

Featureful configuration management library for Node.js (nested structure, schema validation, etc.)

$ npm install convict
envalidv8.2.0, 9 Jun 2026

Validation for your environment variables

$ npm install envalid
MetricconvictenvalidDifference
Weekly downloads883,532493,289convict 1.8x higher
12-month download growth+44%+56%envalid +13 pts
Gzip size---
Minified size---
Dependencies21convict 1 more
Unpacked size41 kB87 kBconvict 2.1x smaller
Latest release6.2.5, 19 Mar 20268.2.0, 9 Jun 2026envalid 3 months more recent
Releases, last 12 months12envalid 1 more
First published22 Jan 201229 Nov 2012convict 10 months earlier
GitHub stars2,3741,592convict +49%
Open issues644convict 60 more
Open pull requests80convict 8 more
Contributors---
Commits, last 52 weeks828envalid 3.5x higher
TypeScript typesNoneBundledDiffers
Module formatCommonJSCommonJSSame
Runtimes---
LicenseApache-2.0MITDiffers

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

convict857.7k latest weekenvalid493.3k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

convict

Major versions
  1. 0.0.122 Jan 2012
  2. 1.0.02 Aug 2015
  3. 2.0.024 Dec 2016
  4. 3.0.022 Mar 2017
  5. 4.0.022 Jun 2017
  6. 5.0.06 May 2019
  7. 6.0.08 May 2020
Last 5 releases
  1. 6.2.519 Mar 2026
  2. 6.2.47 Jan 2023
  3. 6.2.37 May 2022
  4. 6.2.227 Mar 2022
  5. 6.2.120 Oct 2021
64 releases in total, 1 in the last 12 months

envalid

Major versions
  1. 0.1.029 Nov 2012
  2. 1.0.023 May 2016
  3. 2.0.08 Jun 2016
  4. 3.0.021 Apr 2017
  5. 4.0.026 Aug 2017
  6. 5.0.012 Apr 2019
  7. 6.0.016 Nov 2019
  8. 7.0.030 Jan 2021
  9. 8.0.020 Sept 2023
Last 5 releases
  1. 8.2.09 Jun 2026
  2. 8.1.15 Nov 2025
  3. 8.1.012 Jul 2025
  4. 8.0.020 Sept 2023
  5. 7.3.17 Apr 2022
41 releases in total, 2 in the last 12 months
convict

-

envalid

-

convict

-

envalid

-

  • Module formatBoth CommonJS
  • Need TypeScript types in the package itselfenvalid (convict: None; envalid: Bundled)
  • Node.js version requirementconvict: >=6; envalid: >=18 (engines field in package.json)
  • Need the more recent releaseenvalid (8.2.0 on 9 Jun 2026 vs 6.2.5 on 19 Mar 2026)
  • Higher weekly npm downloadsconvict (883.5k vs 493.3k)
  • Licenseconvict: Apache-2.0; envalid: MIT

Each line is generated from the data above.

convict: convict npm registry, convict npm downloads, convict GitHub. Data fetched 25 Sept 2026.
envalid: envalid npm registry, envalid npm downloads, envalid GitHub. Data fetched 25 Sept 2026.

Indexability: Indexed.