tsc-esm-fix

Make Typescript projects compatible with esm/mjs requirements (by antongolub)

Tsc-esm-fix Alternatives

Similar projects and alternatives to tsc-esm-fix

  1. Visual Studio Code

    Visual Studio Code

  2. Nutrient

    Nutrient - The #1 PDF SDK Library. Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.

    Nutrient logo
  3. TypeScript

    1,400 tsc-esm-fix VS TypeScript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  4. proposal-type-annotations

    ECMAScript proposal for type syntax that is erased - Stage 1

  5. rescript

    104 tsc-esm-fix VS rescript

    ReScript is a robustly typed language that compiles to efficient and human-readable JavaScript.

  6. ts-jest

    20 tsc-esm-fix VS ts-jest

    A Jest transformer with source map support that lets you use Jest to test projects written in TypeScript.

  7. tsx

    31 tsc-esm-fix VS tsx

    ⚡️ TypeScript Execute | The easiest way to run TypeScript in Node.js

  8. ts2esm

    2 tsc-esm-fix VS ts2esm

    Transforms CommonJS projects into ESM.

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. react-pair

    Discontinued 🖇️ Util to help with the paired hook pattern

  11. aleph.js

    13 tsc-esm-fix VS aleph.js

    The Full-stack Framework in Deno.

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

tsc-esm-fix discussion

Log in or Post with

tsc-esm-fix reviews and mentions

Posts with mentions or reviews of tsc-esm-fix. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-09.
  • TypeScript is now officially 10 years old
    6 projects | news.ycombinator.com | 9 Oct 2022
    Probably because it compiles them to a pre-standard ES5-compatible implementation based on good ol' `Foo.prototype`. And since they've already handled them one way, they can't become spec-compliant without breaking backwards compatibility.

    The other place where this shines through particularly egregiously is the support of ESM static import/export. Everybody's build tools been compiling that back down to CJS so hard that Node.js 16+ introduced intentional incompatibilities between CJS and ESM modes just to get people to finally switch to the standards-compliant module system. So you end up in a situation where the library is written in TypeScript with ESM syntax but the only available browser build is a CJS blob which completely defeats the main touted benefit of static imports/exports, namely dead code elimination...

    So you decide what the hell, let's switch TSC to ESM and moduleResolution node16, and end up having to use something like https://github.com/antongolub/tsc-esm-fix because the only allowed fix for TSC doing the wrong thing is at the completely wrong level - https://www.typescriptlang.org/docs/handbook/esm-node.html - if you don't see what's wrong with that, you're one of today's lucky 10000...

  • TS and ts-jest meet “type”: “module”
    3 projects | dev.to | 11 May 2021

Stats

Basic tsc-esm-fix repo stats
2
75
7.8
9 days ago

Sponsored
Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?