Skip to content
JS
Comparison

@dotenvx/dotenvx vs varlock

ConfigurationPackage data 25 Sept 2026
@dotenvx/dotenvxv2.30.0, 22 Sept 2026

a secure dotenv–from the creator of `dotenv`

$ npm install @dotenvx/dotenvx
varlockv1.20.0, 18 Sept 2026

AI-safe .env files: Schemas for agents, Secrets for humans.

$ npm install varlock
Metric@dotenvx/dotenvxvarlockDifference
Weekly downloads8,842,968193,951@dotenvx/dotenvx 45.6x higher
12-month download growth+1056%+24258%varlock +23202 pts
Gzip size---
Minified size---
Dependencies60@dotenvx/dotenvx 6 more
Unpacked size708 kB4.5 MB@dotenvx/dotenvx 6.5x smaller
Latest release2.30.0, 22 Sept 20261.20.0, 18 Sept 2026@dotenvx/dotenvx 4 days more recent
Releases, last 12 months119--
First published21 Nov 2023--
GitHub stars5,8094,598@dotenvx/dotenvx +26%
Open issues435varlock 31 more
Open pull requests022varlock 22 more
Contributors---
Commits, last 52 weeks1,330619@dotenvx/dotenvx 2.1x higher
TypeScript typesBundledBundledSame
Module formatCommonJSESM + CommonJSDiffers
Runtimes---
LicenseBSD-3-ClauseMITDiffers

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.

@dotenvx/dotenvx8.8m latest weekvarlock194k 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.

@dotenvx/dotenvx

Major versions
  1. 0.2.2321 Nov 2023
  2. 1.0.024 Jun 2024
  3. 2.0.030 Jun 2026
Last 5 releases
  1. 2.30.022 Sept 2026
  2. 2.29.021 Sept 2026
  3. 2.28.220 Sept 2026
  4. 2.28.119 Sept 2026
  5. 2.28.016 Sept 2026
351 releases in total, 119 in the last 12 months

varlock

Major versions
  1. -
Last 5 releases
  1. -
Release count not fetched
@dotenvx/dotenvx

-

varlock

-

@dotenvx/dotenvx

-

varlock

-

  • Need no runtime dependenciesvarlock (@dotenvx/dotenvx has 6, varlock has 0)
  • Need both ESM and CommonJS entry pointsvarlock (@dotenvx/dotenvx: CommonJS; varlock: ESM + CommonJS)
  • Need to load it with require()Both
  • Need TypeScript types in the package itselfBoth
  • Node.js version requirement@dotenvx/dotenvx: none declared; varlock: >=22.3.0 (engines field in package.json)
  • Need the more recent release@dotenvx/dotenvx (2.30.0 on 22 Sept 2026 vs 1.20.0 on 18 Sept 2026)
  • Higher weekly npm downloads@dotenvx/dotenvx (8.8m vs 194k)
  • License@dotenvx/dotenvx: BSD-3-Clause; varlock: MIT

Each line is generated from the data above.

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

Indexability: Indexed.