</>PackageGraphPackageGraph

esm

npmv3.2.25

Tomorrow's ECMAScript modules today!

Not recommended for new projects

No — esm should not be adopted for new projects. Last published 2673 days ago.

  • AAdoption: grade A, Excellent.

    6.2M downloads per week and 5 known dependents.

  • FMaintenance: grade F, Failing.

    Last published 2673 days ago.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 301 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding esm to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

301 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
node >=6
Module format
CommonJS only
TypeScript
No bundled types
Install scripts
None

esm vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
esmthis page6.2M5MIT7 years ago
tsx61.9M26MIT1 day ago
import-local02MIT1 day ago
import-fresh02MIT1 day ago
resolve02MIT1 day ago
@humanwhocodes/module-importer01Apache-2.01 day ago

Used by

Popular packages that depend on esm.

Relationship graph

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

escaladetotalistclsxknexdequalesm
esm dependencies dependents

Frequently installed together

Release history

No releases in the last two years, typically about 2 days apart.

Recent versions of esm
VersionPublishedSizeLicense
3.2.25latest7 years ago301 KBMIT
3.2.247 years ago301 KBMIT
3.2.237 years ago301 KBMIT
3.2.227 years ago300 KBMIT
3.2.217 years ago299 KBMIT
3.2.207 years ago295 KBMIT
3.2.197 years ago295 KBMIT
3.2.187 years ago295 KBMIT
3.2.177 years ago295 KBMIT
3.2.167 years ago294 KBMIT
3.2.157 years ago294 KBMIT
3.2.147 years ago294 KBMIT
3.2.137 years ago293 KBMIT
3.2.127 years ago292 KBMIT
3.2.117 years ago292 KBMIT

Overview

esm is an npm package that tomorrow's ECMAScript modules today!. It is extremely widely used, with about 6.2M downloads per week and 5 known dependents in the graph. The latest version is 3.2.25, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need tomorrow's ECMAScript modules today! and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

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

Cons

  • No bundled TypeScript types (may require a separate @types package).

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

Maintainers

Keywords

Frequently asked questions

Should I use esm?

No — esm should not be adopted for new projects. Last published 2673 days ago.

How do I install esm?

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

What license is esm released under?

esm is distributed under the MIT license.

How popular is esm?

esm has approximately 6,249,822 downloads per week and 5 known dependent packages.

Is esm still maintained?

The most recent release of esm (v3.2.25) was published 7 years ago.

Does esm run install scripts?

No. esm does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.