TypeScript Esm

Open-source TypeScript projects categorized as Esm

Top 23 TypeScript Esm Projects

  • tsx

    ⚡️ TypeScript Execute: Node.js enhanced to run TypeScript & ESM

    Project mention: Finally, a guide for Node.js and TypeScript and ESM that works | news.ycombinator.com | 2023-11-21

    I really enjoy frontend/node/typescript development. I roll my eyes whenever the HN-types complain about CSS or frontend development being a hellhole. Mostly the comments I see seem ignorant or impatient ("Why doesn't this thing work without be bothering to learn it?")

    However, the intersection of typescript, nodejs, and ES modules is consistently the most frustrating experience I ever have. Trying to figure out which magic incantation of tsconfig/esbuild/tsc/node options will let me just write code and run it is a fools errand. You might figure something out, and then you try to use Jest and then you descend into madness again.

    The biggest tip I can give people is to ditch ts-node and just use (the awkwardly named) tsx https://github.com/privatenumber/tsx, which pretty much just "mostly works" for running Typescript during dev for node.

    The problem mostly seems to stem for all the stakeholders being pretty dogmatic to whatever their goals are, rather than the pragmatic option of just meeting people where they are. I really wish the Node, Typescript, Deno/Bun, and maybe some bundler people would come together and figure out how to make this easier for people.

  • aleph.js

    The Full-stack Framework in Deno.

    Project mention: I don't get fresh. why can't I use react without commiting to a server side framework? | /r/Deno | 2023-07-01

    Check aleph if you want to use react with deno. But I'd suggest sticking with Node.js and Vite as you'll get less surprises.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

  • ultra

    Zero-Legacy Deno/React Suspense SSR Framework

    Project mention: I don't get fresh. why can't I use react without commiting to a server side framework? | /r/Deno | 2023-07-01

    Another option is ultra.

  • tinyhttp

    🦄 0-legacy, tiny & fast web framework as a replacement of Express

    Project mention: tinyhttp: 0-legacy, tiny & fast web framework as a replacement of Express | /r/opensource | 2023-06-08
  • SimpleWebAuthn

    WebAuthn, Simplified. A collection of TypeScript-first libraries for simpler WebAuthn integration. Supports modern browsers, Node, Deno, and more.

    Project mention: WebAuthN in Remix - FaceID, YubiKey, and more! | dev.to | 2023-12-07

    So this article will use the great library SimpleWebAuthN from Matthew Miller, which provides packages for the server side, client side, and typescript types, that make everything easier.

  • pkgroll

    📦 🍣 Next-gen package bundler for TypeScript & ESM

  • cloudflare-worker-jwt

    A lightweight JWT implementation with ZERO dependencies for Cloudflare Workers.

    Project mention: A lightweight JWT implementation with ZERO dependencies for Cloudflare Workers | news.ycombinator.com | 2023-09-12
  • InfluxDB

    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.

  • unimport

    Unified utils for auto importing APIs in modules.

    Project mention: using types without import them | /r/vuejs | 2023-04-17

    You looked through https://github.com/antfu/unplugin-auto-import/issues/61, https://github.com/unjs/unimport/pull/218 and https://github.com/antfu/unplugin-auto-import/issues/61?

  • node-win32-api

    win32 api

  • cjstoesm

    A tool that can transform CommonJS to ESM

  • copycat

    🌳 Copy content from web powerful than ever before. (by BlackGlory)

    Project mention: Copy webpage text, convert to Markdown | news.ycombinator.com | 2023-10-31

    Here is the Github repo (with links to Firefox and Edge extensions): https://github.com/BlackGlory/copycat

  • malibu

    🏄 Framework-agnostic CSRF middleware for modern Node.js (by tinyhttp)

    Project mention: malibu - framework-agnostic CSRF middleware for modern Node.js | /r/node | 2023-03-19
  • tsc-esm-fix

    Make Typescript projects compatible with esm/mjs requirements

  • tsconfig-to-dual-package

    Node.js dual package tool that add package.json to tsconfig's `outDir`

  • ts2esm

    Transforms TypeScript imports and exports into ESM-compatible declarations.

    Project mention: I made a tool that converts CJS to MJS in TypeScript projects | /r/typescript | 2023-11-02
  • vue-sfc2esm

    Transpiled Vue SFC File to ES modules.

  • run

    Safely execute untrusted code with ESM syntax support, dynamic injection of ESM modules from URL or plain JS code, and granular access control based on whitelisting for each JS object. (by initminal)

    Project mention: @initminal/run - Safe & fast code eval in the browser with modern ESM features, dynamic module injection and more... | /r/javascript | 2023-04-16
  • top-level-await-in-aws-lamba-with-typescript

    🚀 Using top-level await in AWS Lambda with TypeScript, esbuild and Serverless Framework

  • marky

    A modular and extensible ESM and Deno Markdown parser.

  • pseudo-shuffle

    (FE1 FPE) Make the index look like it is shuffled according to the range so that it is not conflicted without the actual shuffle. (Support Node & Browser)

    Project mention: Can you quickly shuffle the index of a trillion documents without conflict? | /r/node | 2023-05-30

    Rocket*: It's no big deal, just use* psuedo-shuffle.js in the middle, it'll take 4 lines, Don't say you can't make it to the gym tonight bro.

  • Fleet-of-the-Faithful-Knights

    Monorepo for the Fleet of the Faithful Knights

  • typescript-esm-packager

    A collection of tools to build ESM packages with TypeScript.

    Project mention: Things to keep in mind when publishing a JavaScript library in 2023 | news.ycombinator.com | 2023-04-29

    The rumors are true! Luxury housing is in development, and it’s taking place in Hell’s most gentrified neighborhood. Sources close to the project are calling it ES Modules, and everybody who’s anybody wants in on this high-end horror show.

    Honestly, I love the new module syntax compared to the old `require` song and dance. They fit nicely with promises and ensure some level of behavioral consistency in the browser and other runtimes. We could even drop the need for bundling for small enough projects, and get back to the simpler times of dropping a script tag in your HTML. I just don’t understand why Node can’t get its story straight.

    Let’s just talk about the file extension thing first. The brain trust at the lab decided that ES module files should have a .mjs extension to indicate the contents of the file. Fair enough. But .js also works sometimes, depending on the configuration set in the package.json file? We’ll chock this up to gradual adoption.

    There’s also some fun caveats about module resolution to keep things interesting. ES Modules need either a fully qualified path, or a relative path — both must include file extensions. Again, that’s also fine. I actually prefer it! So there’s the mystery factor of what happens to all the current NPM packages that aren’t compliant. Simple! We just have a special flag to make those work.

    So how do we get this ball of tape running in the browser exactly? A bundler…the very thing we were trying to avoid in the first place! Remember the dream of isomorphic code? Not debugging a Webpack build with shoddy source maps? We’re right back where we started but with a whole new set of meta problems.

    The most entertaining part of this game is telling your coworkers the difference between an import map and a package.json exports declaration. God help you if have TypeScript holding up this paper shack. Try building a ES module compatible library that includes TSX files just using the TypeScript compiler. Remember that it’s gotta be .mjs files that get output, and all your imports have to be fully qualified.

    If you’re nostalgic for the DMV, I recommend that you visit the TypeScript repo and check out how this module thing is going. You see, there are two developers at Microsoft. One tells truths, and the other plugs their ears and shouts, “LALALALALALA! TypeScript doesn’t and won’t ever rewrite modules!”

    It’s been like this for years and will take some additional years to complete. And don’t get me wrong, I’m sympathetic to the difficulties of this affair. But it’s becoming more like a sudden urge to vomit when the someone in the room starts heaving at your table.

    And finally, I’m so spoiled that I expect free stuff from the community. I built a tool to make ES modules and TypeScript play nice. It’s my greatest wish that it gets deprecated before I’m sent to live on a farm upstate…

    https://github.com/sister-software/typescript-esm-packager

  • cynic

    simple async run-anywhere js testing framework

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-12-07.

TypeScript Esm related posts

Index

What are some of the best open-source Esm projects in TypeScript? This list will help you:

Project Stars
1 tsx 7,140
2 aleph.js 5,231
3 ultra 2,978
4 tinyhttp 2,587
5 SimpleWebAuthn 1,176
6 pkgroll 647
7 cloudflare-worker-jwt 530
8 unimport 433
9 node-win32-api 396
10 cjstoesm 365
11 copycat 237
12 malibu 124
13 tsc-esm-fix 65
14 tsconfig-to-dual-package 58
15 ts2esm 29
16 vue-sfc2esm 27
17 run 25
18 top-level-await-in-aws-lamba-with-typescript 24
19 marky 22
20 pseudo-shuffle 11
21 Fleet-of-the-Faithful-Knights 7
22 typescript-esm-packager 5
23 cynic 4
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com