nanoexpress
fastify
nanoexpress | fastify | |
---|---|---|
5 | 124 | |
483 | 30,639 | |
- | 0.9% | |
9.2 | 9.4 | |
about 2 years ago | 7 days ago | |
JavaScript | JavaScript | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nanoexpress
-
Will Bun JavaScript Take Node's Crown
Great experience with it. The examples in the repo, the issues and discussions sections, and the documentations are all very helpful. Alex and the other users are also quite hands-on in replying on each and every issue and discussion there.
We have some thin wrapper for uWebSockets.js that lets us do the following:
- parse request json
- parse request multipart data
- serve response json
- serve response buffers
- serve response streams
- serve response static files
- support async handler
- support multiple async handlers (middlewares)
links are here
- https://github.com/joshxyzhimself/modules/blob/main/uwu.mjs
- https://github.com/joshxyzhimself/modules/blob/main/uwu.d.ts
- https://github.com/joshxyzhimself/modules/blob/main/uwu.test...
internally we just serve http, then it goes through caddy or haproxy depending on the project's needs such as tls, caching, etc.
there are other similar projects too that tries to deliver express-like api:
- https://github.com/kartikk221/hyper-express
- https://github.com/nanoexpress/nanoexpress (defunct)
-
Is an ec2 t2.micro instance porwerfull enough?
use better performant node framework. (fastify or https://nanoexpress.js.org/ (if it is small app can handle (150k req/s))
-
HyperExpress: High Performance HTTP/WS Server With A Simple-To-Use API
Check also https://github.com/nanoexpress/nanoexpress
-
I made high-performance expressjs alternative with top additional features
To demonstrate what I mean, example is-http-code:
fastify
-
Should you use jest as a testing library?
For example, Fastify removed the instanceof operatorfrom its codebase because it was causing problems for those developers that rely on jest as a testing framework.
- Is this a valid reason to give up node?
-
Next JS vs Nest JS
Both are frameworks but NextJs is for Forntend (web app in browser that use ReactJs under the hood) and NestJs is for Backend (server app running on a server witch use Express or Fastify). The only thing similar between them is the typed language in which they were written.
-
Stop using express.js
Restify & Fastify Hapi
-
The fundamentals of building a Docker image
Let's create a sample Node API project we can work with throughout to build a new docker image. We will leverage Fastify to create an API that we configure via the fastify-cli.
-
Aplicação de Referência Empresarial em JavaScript - Contoso Real Estate
Fastify
-
Building a modern gRPC-powered microservice using Node.js, Typescript, and Connect
In setting out to build this service, we wanted to use gRPC for its APIs. We’ve been reaching for REST when building APIs so far, primarily out of necessity, i.e., our public APIs needed auto-generated client SDKs and docs for developers working with them. We built those APIs with Fastify and Typebox but felt burned by a code-first approach to generating an OpenAPI spec. I’ll spare you the details and save that experience/learning for another article. Suffice it to say we love gRPC’s schema-first approach. This blog post summarizes our feelings well
- Node.js 20 is now available
-
Node JS Microservice Frameworks for Developing Scalable Web Apps.
Fastify – Fast and Low overhead web framework
-
How to Speed Up your Applications by Caching at the Edge with HarperDB
Custom Functions are powered by Fastify (a light-weight Node.js framework that claims to be faster than Express.js), so they’re extremely flexible.
What are some alternatives?
hyper-express - High performance Node.js webserver with a simple-to-use API powered by uWebsockets.js under the hood.
Next.js - The React Framework
script-type - Learn differences between script defer, async and modules
Express - Fast, unopinionated, minimalist web framework for node.
wmr - 👩🚀 The tiny all-in-one development tool for modern web apps.
Koa - Expressive middleware for node.js using ES2017 async functions
StreamMinecraftClone - A Minecraft Clone developed live on stream at twitch.tv/gameswthgabe
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
wsl-vpnkit - Provides network connectivity to WSL 2 when blocked by VPN
Hapi - The Simple, Secure Framework Developers Trust
gitlab
AdonisJs Framework - AdonisJS is a TypeScript-first web framework for building web apps and API servers. It comes with support for testing, modern tooling, an ecosystem of official packages, and more.