Deepkit – High-Performance TypeScript Framework

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

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • FrameworkBenchmarks

    Source for the TechEmpower Framework Benchmarks project

  • PHP achieves a decent 40% in the composite score table though:

    https://www.techempower.com/benchmarks/#section=data-r20&hw=...

    I suppose you'd need to have Facebook-level scale for infrastructure to cost more than development in a "faster" language.

  • marshal.ts

    A new full-featured and high-performance TypeScript framework

  • 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.

    SurveyJS logo
  • jOOQ

    jOOQ is the best way to write SQL in Java

  • Cool jooq[1]-query-syntax-like ORM! https://deepkit.io/library/orm

    It does not seem to have the code-generation (for the db table DTOs) though.

    I also like typescript's "string & MinLength<3> & Email" type combining.

    A quick edit-test-loop must be a great selling point of this kind of FW compared to FW in more strongly types languages (that have slower edit-test-loops due to compilation) that I usually prefer.

    [1]: https://www.jooq.org/

  • TypeScript

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

  • We generate byte-code from the TypeScript AST, embed that into the emitted JavaScript, and execute them on-demand in a virtual machine during runtime. The result is a type-object which contains the computed type of a TypeScript type expression which can then be used for various use-cases. We use them for ORM, validation, serialisation, RPC, HTTP Router, etc. You can learn more on how it works here https://deepkit.io/blog/introducing-deepkit-framework and in very detail in the TypeScript Bytecode proposal: https://github.com/microsoft/TypeScript/issues/47658

  • React

    The library for web and native user interfaces.

  • I never understood the "single developer" argument. React itself does not even have more than 5 active developers (https://github.com/facebook/react/graphs/contributors), Vue literally have a single one (https://github.com/vuejs/vue/graphs/contributors). You can apply this to almost any library. I mean, what's that argument for?

  • Vue.js

    This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core

  • I never understood the "single developer" argument. React itself does not even have more than 5 active developers (https://github.com/facebook/react/graphs/contributors), Vue literally have a single one (https://github.com/vuejs/vue/graphs/contributors). You can apply this to almost any library. I mean, what's that argument for?

  • sequelts

  • I don't like ORMs that use runtime types either. Most of the time, I want to write raw SQL.

    So as an experiment, I created a library that statically types raw SQL:

    https://github.com/nikeee/sequelts

    The idea is to parse the SQL queries using TS's type system. The parsed query is combined with the database schema and therefore, we know what type the query will return.

    This is especially useful due to TS's structural type system.

  • 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.

    InfluxDB logo
  • ts-sql

    A SQL database implemented purely in TypeScript type annotations.

  • author of ts-sql[0] here, this looks great (and a way more practical approach!)

    [0] https://github.com/codemix/ts-sql

  • Nest

    A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀

  • It does support serverless[1], as well as many other features you can expect from such a framework.

    https://nestjs.com/

  • pgtyped

    pgTyped - Typesafe SQL in TypeScript

  • PgTyped is another high quality alternative: https://github.com/adelsz/pgtyped.

  • liveviewjs

    LiveView-based library for reactive app development in NodeJS and Deno

  • This was on HN a few weeks ago and may be of interest to you:

    https://github.com/floodfx/liveviewjs

  • mfsqlchecker

    Statically validate correctness of all your SQL queries. TypeScript, PostgreSQL

  • Here is another TypeScript library for validating types of SQL queries: https://github.com/MedFlyt/mfsqlchecker

    It uses the actual PostgreSQL parser against your project's database schema to give 100% accurate results. Guarantees that all of your queries are valid, and that all input and output types are correct (and will also auto-generate/quickfix the output types for you in VSCode)

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