Node.js adds experimental support for TypeScript

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Civic Auth - Auth in Less Than 5 Minutes
Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.
www.civic.com
featured
SurveyJS - JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.
surveyjs.io
featured
  1. proposal-type-annotations

    ECMAScript proposal for type syntax that is erased - Stage 1

    Imho standardizing the syntax is enough and this is what https://github.com/tc39/proposal-type-annotations does.

    The type checker is immensely complex and should be left out so that other type checkers can be developed, e.g. similar to how it's for Python today.

  2. Civic Auth

    Auth in Less Than 5 Minutes. Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.

    Civic Auth logo
  3. node

    Node.js JavaScript runtime ✨🐢🚀✨

    Namespaces are also not supported as per https://github.com/nodejs/node/blob/main/doc/api/typescript.....

    I for one can can live without all these features and will be banning via eslint.

  4. loaders

    ECMAScript Modules Loaders

    There's a "dedicated thread" on the question here https://github.com/nodejs/loaders/issues/214

    There are about 100 messages in the comments on the linked PR all about the import extensions compatibility/consequences :)

    There's a "roadmap doc" here https://github.com/nodejs/loaders/issues/217 that states "No .js extension for .ts files."

  5. TypeScript

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

    TypeScript in its current usage reminds me of Hello, World! or FizzBuzz Enterprise Edition. There's almost more code dedicated to typing than the actual running software itself in some codebases I've seen.

    The authors trick you with reasonable examples on https://www.typescriptlang.org, but in the wild, you have these ridiculous codebases that couldn't control themselves and they have this insane ratio of multiple declaration files to actual source files and you have to ask yourself, "Are you writing software to get something actually done, or do you just like write type definitions?"

    Even people who write in C++ don't go to the lengths that TypeScript users do. It's super weird and cult-like.

  6. rescript

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

  7. closure-library

    Discontinued Google's common JavaScript library

    Google’s Closure Library is fascinating too. It’s being retired, but if you want to build a rich text interface for email authoring that truly feels like Gmail, warts and all, you can just use a pre-compiled version of the library and follow https://github.com/google/closure-library/blob/master/closur... within a more modern codebase!

  8. ts-sql

    A SQL database implemented purely in TypeScript type annotations.

    I don't use them directly much, but template literal generic and contidiontal types is probably the closest a mainstream language has inched towards dependent types.

    Some examples of TypeScript power:

    - SQL database in TypeScript types: https://github.com/codemix/ts-sql

    - Statically typed raw SQL queries: https://github.com/andywer/squid?tab=readme-ov-file#tag-func...

    - (Someone fill in your TS hackery for me)

  9. SurveyJS

    JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.

    SurveyJS logo
  10. squid

    🦑 Provides SQL tagged template strings and schema definition functions. (by andywer)

    I don't use them directly much, but template literal generic and contidiontal types is probably the closest a mainstream language has inched towards dependent types.

    Some examples of TypeScript power:

    - SQL database in TypeScript types: https://github.com/codemix/ts-sql

    - Statically typed raw SQL queries: https://github.com/andywer/squid?tab=readme-ov-file#tag-func...

    - (Someone fill in your TS hackery for me)

  11. typefuck

    A type-level Brainfuck interpreter in TypeScript

    There are various programming language interpreters that run entirely in the type system:

    - BF: https://github.com/susisu/typefuck

    - Assembly: https://github.com/judehunter/ts-asm

  12. ts-asm

    Assembly interpreter implemented entirely in TypeScript's type system (type annotations)

    There are various programming language interpreters that run entirely in the type system:

    - BF: https://github.com/susisu/typefuck

    - Assembly: https://github.com/judehunter/ts-asm

  13. swc-node

    Faster ts-node without typecheck

    tsx has very slow startup performance, I prefer https://github.com/swc-project/swc-node which is around twice as fast.

  14. closure-compiler

    A JavaScript checker and optimizer.

    This can give you some hints of the current status of closure compiler:

    https://github.com/google/closure-compiler/issues/2731

    I happen to know this because we have some old projects that depend on this and are working hard to get rid of the dependency.

    I wish Google either updates it or just mark the whole thing deprecated -- the world has already moved on anyway. Relating this to Google's recent cost cutting, and seeing some other Google's open source projects more or less getting abandoned, I have to say that today's Google is definitely not the same company from two decades ago.

  15. openapi-typescript

    Generate TypeScript types from OpenAPI 3 specs

    Maybe I just have bad luck, but most of the libraries I've tried that are "crazy to look at" seem good in theory but are janky in practice. For example, openapi-fetch (https://github.com/openapi-ts/openapi-typescript/tree/main/p...), on paper seems great, but has lots of jank in practice.

    And I would wager the bugs and jank are in no small part due to the extremely complex generics/constraints.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Big Changes Ahead for Deno

    13 projects | news.ycombinator.com | 15 Aug 2022
  • Rust Is the Future of JavaScript Infrastructure

    8 projects | news.ycombinator.com | 11 Nov 2021
  • Starting a TypeScript Project in 2021

    14 projects | news.ycombinator.com | 21 Apr 2021
  • How to Handle File Uploads with Node.js and Express - Multer Edition

    6 projects | dev.to | 12 May 2025
  • Esbuild – An Fast Bundler for the Web

    1 project | news.ycombinator.com | 7 May 2025

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