Skip to content
JS
Package

esm-env

Uses export conditions to return environment information in a way that works with major bundlers and runtimes.

v1.2.2, 8 Jan 2025MITESM onlyTypes: Bundled
$ npm install esm-env

Key numbers

As of 25 Sept 2026
Weekly downloads
5.8m
+344% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 year ago
v1.2.2
GitHub stars
234
6 forks
Open issues / PRs
1 / 0
Contributors
-
Commits, last 52 weeks
1

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6m8mSept 2025Mar 2026Sept 2026High 7.9m (25 Aug 2026)Low 966.9k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

5,785,172 downloads last week, 27,342,857 in the last month. The 12-month change of +344% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
09 in total
Latest version
1.2.2, 8 Jan 20251 year ago
First published
5 Dec 2022
Last push to GitHub
27 Jan 2026240 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
1
Dependents on npm
-

Major versions

  1. v1 first release 1.0.0, 5 Dec 2022

Recent releases

VersionPublished
1.2.28 Jan 2025
1.2.129 Nov 2024
1.2.027 Nov 2024
1.1.429 Oct 2024
1.1.329 Oct 2024
1.1.229 Oct 2024
1.1.129 Oct 2024
1.1.029 Oct 2024
1.0.05 Dec 2022
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
3.7 kB
Dependencies (0)
None
npm install esm-env

CDN

jsDelivr: 215.4k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/esm-env@1.2.2/
  • unpkghttps://unpkg.com/esm-env@1.2.2/
  • esm.shhttps://esm.sh/esm-env@1.2.2
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.