</>PackageGraphPackageGraph

esm-env

npmv1.2.2TypeScript

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

6.1M
Weekly downloads
1
Dependents
0
Dependencies
84/100
Popularity

Overview

esm-env is an npm package that uses export conditions to return environment information in a way that works with major bundlers and runtimes. It is very popular, with about 6.1M downloads per week and 1 known dependents in the graph. The latest version is 1.2.2, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need uses export conditions to return environment information in a way that works with major bundlers and runtimes and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (6.1M weekly downloads).
  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).
  • Zero runtime dependencies — minimal footprint.

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Relationship graph

Dependencies (left) and dependents (right) of esm-env.

svelteesm-env
esm-env dependencies dependents

Used by

Popular packages that depend on esm-env.

Frequently installed together

Version history

VersionPublishedLicense
1.2.2latest1 year agoMIT
1.2.11 year agoMIT
1.2.01 year agoMIT
1.1.41 year agoMIT
1.1.31 year agoMIT
1.1.21 year agoMIT
1.1.11 year agoMIT
1.1.01 year agoMIT
1.0.03 years agoMIT

Maintainers

Frequently asked questions

How do I install esm-env?

Run `npm install esm-env` to add esm-env to your npm project.

What license is esm-env released under?

esm-env is distributed under the MIT license.

How popular is esm-env?

esm-env has approximately 6,144,807 downloads per week and 1 known dependent packages.