esm
npmv3.2.25Tomorrow's ECMAScript modules today!
Overview
esm is an npm package that tomorrow's ECMAScript modules today!. It is extremely widely used, with about 5.9M downloads per week and 3 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 (5.9M 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.
Relationship graph
Dependencies (left) and dependents (right) of esm.
Used by
Popular packages that depend on esm.
A tiny (183B to 210B) and fast utility to ascend parent directories
A tiny (239B) utility for constructing className strings conditionally.
A batteries-included SQL query & schema builder for PostgresSQL, MySQL, CockroachDB, MSSQL and SQLite3
Alternatives to esm
Resolve the path of a module like `require.resolve()` but from a given path
TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files
Let a globally installed package use a locally installed version of itself if available
Universal module importer for Node.js
Resolve the path of a module like `require.resolve()` but from the current working directory
A JavaScript parser
Lodash modular utilities.
`Object.defineProperty`, but not IE 8's broken one.
An AST-based pattern checker for JavaScript.
Promise based HTTP client for the browser and node.js
The React Framework
Prepare a node environment to require files with different extensions.
Frequently installed together
The semantic version parser used by npm.
Lightweight debugging utility for Node.js and the browser
the complete solution for node.js command-line programs
Resolve the path of a module like `require.resolve()` but from a given path
A tiny (183B to 210B) and fast utility to ascend parent directories
Lodash modular utilities.
An AST-based pattern checker for JavaScript.
Prettier is an opinionated code formatter
🌈Easily set your terminal text color & styles.
Determine the `package.json#type` which applies to a location
Functions for dealing with a PostgreSQL connection string
PostgreSQL client - pure javascript & libpq with the same API
Version history
| Version | Published | License |
|---|---|---|
| 3.2.25latest | 7 years ago | MIT |
| 3.2.24 | 7 years ago | MIT |
| 3.2.23 | 7 years ago | MIT |
| 3.2.22 | 7 years ago | MIT |
| 3.2.21 | 7 years ago | MIT |
| 3.2.20 | 7 years ago | MIT |
| 3.2.19 | 7 years ago | MIT |
| 3.2.18 | 7 years ago | MIT |
| 3.2.17 | 7 years ago | MIT |
| 3.2.16 | 7 years ago | MIT |
| 3.2.15 | 7 years ago | MIT |
| 3.2.14 | 7 years ago | MIT |
| 3.2.13 | 7 years ago | MIT |
| 3.2.12 | 7 years ago | MIT |
| 3.2.11 | 7 years ago | MIT |
| 3.2.10 | 7 years ago | MIT |
| 3.2.9 | 7 years ago | MIT |
| 3.2.8 | 7 years ago | MIT |
| 3.2.7 | 7 years ago | MIT |
| 3.2.6 | 7 years ago | MIT |
Maintainers
Frequently asked questions
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 5,942,560 downloads per week and 3 known dependent packages.