Top 5 TypeScript frameworks to learn in 2023, an overview of the different frameworks built primarily with TypeScript as the first-class citizen.
The Node.js ecosystem and increased JavaScript frameworks left developers with an important question.
Do we have TypeScript-Specific Frameworks?
This is 2023, and of course, you should know the answer by now if you have read our previous article on the same subject.
Before we delve into the article, let’s clear the air with TypeScript and why frameworks should make it a first-class citizen.
TypeScript is the 3rd most wanted programming language after Rust and Python, according to the StackOverflow 2022 Developer Survey. It has gained significant adoption in recent years.
TypeScript is simply JavaScript with Types, and according to the official documentation, “TypeScript Understands JavaScript and uses type inference to give you great tooling without additional code.”
In this article, I will look at the top 5 TypeScript Frameworks to understand what you can start learning in 2023.
Before we start, if you’re just getting started with TypeScript. I have a great book for you. Here you go.
Top 5 TypeScript Frameworks
I will list the top 5 best typescript frameworks to learn in 2023 based on specific criteria such as popularity, number of usage, and Github stars.
Combining those criteria plus personal preference, we have the following list of the best typescript frameworks.
Nestjs
Featherjs
AdonisJS
Loopback
Tsed
Before I started learning these frameworks, especially NestJS and AdonisJS, I was always in doubt about TYPESCRIPT skills until I came across this book.
Nest.js Framework
This year, Nest.js is still the most popular TypeScript Framework inspired by the Angular module system.
NestJS is one of the fastest-growing frameworks in the NodeJS ecosystem. It has even outgrown many other Node.js frameworks except for Koa and Express, which is pretty fair compared to 2018 when it was introduced.
NestJS has more than 59.8k Github Stars and about 56.9k Github Usage as of the time of writing.
It has records of 2**.7m** weekly downloads, and above all, it supports TypeScript as a first-class citizen with about 99.9% Typescript in its codebase.
If the numbers don’t convince you to learn NestJS in 2023, maybe a screenshot of the NPM Trends will:
Features of NestJS
What makes Nestjs so great and intuitive can be seen in the features.
NestJS aims to provide an application architecture that allows for the effortless creation of highly testable, scalable, loosely coupled, and easily maintainable applications.
You can explore some of the features of Nestjs and see how we can use them to speed up our application development here.
Learn NestJS
name | custom |
title | Nest.js Framework: Ultimate Guide |
description | NestJS is one of the fastest-growing typescript frameworks in the Node.js ecosystem. You will learn Nest.js from scratch to an advanced level using TypeScript. |
url | https://masteringbackend.com/posts/nestjs-typescrpt-ultimate-guide |
FeatherJS Framework
FeatherJS is the second most popular typescript framework, according to our statistics for building real-time applications and REST APIs.
The framework has more than 14.8k Github Stars and about 3.7k Github Usage.
It has records of 55k weekly downloads, and above all, it supports TypeScript as a first-class citizen with about 95.9% Typescript in its codebase.
You can see the trends chart to get more insights below:
Learn FeatherJS
Below are the resources you can get started with FeatherJS
AdonisJS Framework
The AdonisJS framework is my all-time favorite Node.js and TypeScript framework, except Expressjs.
It is easy to jump right into it and get complex projects out if you have prior experience with Laravel, Spring, or Ruby on Rails.
“AdonisJS is a Node.js framework focused on developers’ ergonomics, stability, and speed. AdonisJS is written from the ground up with a strong principle and goals in mind to be a strong integrated system.” from AdonisJS Tutorial.
The framework has more than 14.3k Github Stars and about 24.5k Github Usage (Ace) as of the time of writing.
It has records of 19k weekly downloads, and above all, it supports TypeScript as a first-class citizen with about 99.9% Typescript in its codebase.
Learn AdonisJS
Learning and building with AdonisJS 5 have been made very easy with this free book, which I highly recommend.
name | custom |
title | AdonisJS Framework: Ultimate Guide |
description | In this AdonisJS tutorial, you will learn AdonisJS 5 from scratch to an advanced level. You will learn how to build and deploy your first AdonisJS app. |
url | https://masteringbackend.com/posts/adonisjs-tutorial-the-ultimate-guide |
LoopbackJS Framework
Loopback 4 is a highly scalable and extensible Typescript framework for building microservices and APIs.
It recently upgraded to Typescript fully in version 4 of the framework, which we consider in this article.
Loopback 4 has more than 4**.6k Github Stars and about 9.9k Github Usage as of the time of writing**.
It has records of 38k weekly downloads, and above all, it supports TypeScript as a first-class citizen with about 75.2% Typescript in its codebase.
Learn Loopback
To learn Loopback 4, I recommend Building a full-stack app with Node. Js, Loopback4, React, and Hooks course, though it’s a new course, has the potential to help you learn typescript, Loopback 4, and react while building a real-world application.
Resources
Below are the free resources you can get started with Loopback 4
Tsed Framework
The TSED framework is a Node.js framework written with typescript on top of Express.js and Koa to easily and quickly build out your server application.
It has great features and built-in support of several technologies to speed up your development. You can check out the official website for more information.
As of the time of writing, TSED has more than 2.6k Github Stars and about 1.3k Github Usage.
It has records of 16k weekly downloads, and above all, it supports TypeScript as a first-class citizen with about 98.4% Typescript in its codebase.
Learn Tsed
Since the framework is unpopular in the community, the official documentation is the only source of truth and a great place to start.
Bonus
For reading this long, I have a reward for you.
Foal Framework
Foal is a NodeJS framework for building web applications written entirely with TypeScript, which allows you to detect the silliest errors during compilation and improve the quality of your code.
It also provides reusable components, so you don’t reinvent the wheel.
You also have a complete web development environment with CLI, testing tools, scripts, frontend utilities, ORM, deployment environments, AWS utilities, GraphQL, advanced authentication, Swagger API, and more.
Foal has more than 1.8k Github Stars and about 220 Github Usage as of the time of writing.
It has records of 3.7k highest weekly downloads, and above all, it supports TypeScript as a first-class citizen with about 98.4% Typescript in its codebase.
Learn Foal
Since the framework is unpopular in the community, the official documentation is the only source of truth and a great place to start.
Typetron Framework
Typetron is a fully-featured typescript framework for Node.js, a modern Node.js framework for building modern backend applications using TypeScript.
As of the time of writing, this framework is still in beta and promises great features.
Many features, such as performance, code sharing, seamless scaling, and feature-rich APIs for authentications, Authorization, and forms, are already built-in.
Foal has more than 186 Github Stars as of the time of writing. Its codebase supports TypeScript as a first-class citizen with about 87.3% Typescript.
Learn Typetron
Since the framework is unpopular in the community, the official documentation is the only source of truth and a great place to start.
Final Thoughts
Choosing a particular one for your project will solely depend on the type of project, the programming language, and team strength.
We have given a rough overview of these frameworks and their trends over a year.
We also give you the knowledge of what to expect when choosing anyone with a good knowledge of TypeScript.
Conclusion
This article covered the top 5 typescript frameworks in 2023 and the different Github Usage, Github Stars, and the percentages of typescript in the codebase.
We have also explored the different trends in usage from NPMTrends.
Let me know in the comment section which typescript framework is more familiar to you and which one you will most try out.
Happy coding!