Typetron is a modern Node.js framework for building fully-featured backend apps with Typescript.
Join the newsletter to be the first to find out when updates are coming.
Being built in Typescript with fresh, modern and clean modules from scratch, Typetron offers the best performance out of the box compared with other available, taking advantage of the native speed of Node.js.
Read moreOne of the main advantages of Node.js is that you can use the server-side code in your front-end applications. Typetron helps you make the code reusability seamless between your backend and frontend. For example, you can share the form validation between your apps. Read more...
Typetron provides all the tools necessary for adding almost every feature need in your web app. Things like Forms, Models, Authentication, Authorization, ORM and many many more are already built in the framework. Read more...
Intelligently designed, beautifully crafted framework with user and developer needs in mind, Typetron offers the scalability feature out of the box if you want to build enterprise level apps.
Building a framework was one of my side-projects created to learn how a web framework works and also, to learn Typescript. It was not my intention to create a competing framework 😅. After it was presented on a small local meetup, people there wanted to know more about it and therefore I created a website and added documentation. Then, after making some performance and developer-experience comparison with the other available frameworks, I decided Typetron is a good addition to the community and I continued working on it.
Typetron is really fast and full of features. One of the key differences between Typetron and Express is that Typetron is an opinionated framework. This means Typetron has a file structure already created for you in a way that it will play nicely with the features it provides. This way, you don't have to spend time thinking about where or how should a piece of code interact with another piece of code. Speaking of features, Typetron is a fully-features framework, or batteries included framework. This means Typetron has everything a developer needs to build 99% of the possible apps (if not, file an issue on Github and it will be added). No packages to search, compare and install.
Some other differences is that Typetron is more performant and has Typescript support built-in. This already helps you build next-gen, highly scalable and maintainable apps.
While they are similar in developer experience, look and feel, Typetron has some key differences. Not using Express "under the hood" will make Typetron a lot faster. Not even Fastify can't help Nest.js to gain some performance boost over Typetron. Another difference is that Typetron does not inherit any Angular-like modularisation making it a bit cleaner. Also, Nest.js is trying to maintain compatibility with Javascript, making it overuse decorators.
Some other difference is that Typetron has all the features as first-party packages. This means that the developer experience is the same for every feature, making your app more consistent.
The biggest and most important difference is that Typetron has tools for sharing your code (Forms and Models) with your frontend app, which will make the development faster. You won't even need to look at the backend API documentation.