esm

Tomorrow's ECMAScript modules today! (by standard-things)

Esm Alternatives

Similar projects and alternatives to esm

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better esm alternative or higher similarity.

esm reviews and mentions

Posts with mentions or reviews of esm. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-30.
  • CommonJS Is Hurting JavaScript
    7 projects | news.ycombinator.com | 30 Jun 2023
    > I think the biggest miss was not making mixed mode (default) for Node do it the way webpack/babel, etc did it by default in terms of interop. I get they wanted to make it more implicit to call cjs from esm, in the end it just inhibits conversion of existing libraries as dependencies are now a bigger hurdle.

    Huge huge agreement.

    I forget the specifics but there was some super tiny corner case around maybe default exports that could potentially create ambiguity & that spawned a multi-year bellyaching around doing anything at all for interop. What Node got was incredibly hard fought for against much resistance to interop.

    But the final compromises made everything so much more painful for everyone. So many esm projects but oh look a .eslintrc.cjs, how unsurprising & sad.

    It's extra maddening because node had a wonderful just works (except that tiny tiny tiny corner case) interop via @standard-things/esm, which seamlessly let the two worlds interop. It'd been around for years before node started shipping support, and it was no ceremony just works bidirectional interoperability, and it took basically no effort or thought from the developers point of view to use. It sucked seeing us walk back from great, mired by frivolous over concern for a obscure corner-case.

    https://github.com/standard-things/esm

  • ERR_REQUIRE_ESM
    2 projects | dev.to | 31 Mar 2021
    2) Stay on ES5. Wrap ES6 module(s) with esm adapter. Just like the documentation says:

Stats

Basic esm repo stats
2
5,252
0.0
8 months ago

standard-things/esm is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.

The primary programming language of esm is JavaScript.


Sponsored
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com