Elestia Open Source Ratings
8.3

Fastify

A strong pick. 2nd of 10 server frameworks.

Fastify is a fast, schema-driven HTTP framework for Node.js, with built-in validation, serialization, logging and a strong plugin system. For a new Node.js server or API today it is among the strongest picks. Hono is the better fit for edge and multi-runtime work, and 2026 brought a steady run of validation-bypass advisories that you need to keep up with.

Best for: Teams building long-running Node.js APIs and services that want speed, schema validation and a mature plugin ecosystem.

WebsiteGitHubnpm

Scores

Overall8.3

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 8.0, likely 7.5 to 8.5

It is a strong, well-maintained, widely trusted choice for Node.js APIs, and better than Express for new work. Hono beats it for edge and multi-runtime projects, and scores higher on developer satisfaction. The 2026 advisory record keeps it below the top band.

GPT-6.2 Sol: 8.5, likely 7.3 to 9.3

Fastify is one of the strongest choices for a new Node.js JSON API because route contracts, scoped plugins, and in-process tests come together in a well-maintained framework. Its recent adoption signals and reported performance gains support choosing it over Express for that workload. Express retains a much larger middleware ecosystem, Hono is a better fit for portable deployments, and the next Fastify major release introduces runtime and plugin upgrade work.

Needed by many6.7

How many developers need a tool for this job?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

Most backend JavaScript and TypeScript developers need an HTTP framework. Fastify serves the large group that runs servers on Node.js. Its focus on Node rather than edge or multi-runtime use makes it narrower than Hono's reach.

GPT-6.2 Sol: 6.3, likely 5.1 to 7.4

HTTP APIs are a common JavaScript and TypeScript backend job, and Fastify covers general-purpose Node.js services. Its Node.js focus narrows its fit compared with Hono’s runtime coverage. Survey figures show how widely developers use Node.js but only indirectly measure demand for a dedicated HTTP framework.

Helps a lot8.7

How well does it do the job for those who need it?

Claude Opus 5.5: 8.5, likely 7.5 to 9.0

It is fast, with validation, serialization, logging, hooks and encapsulated plugins built in. The docs are mature and AI coding agents know it well. Typing through type providers is weaker than Hono's inference. The 2026 validation bypasses show real edge-case bugs in its core schema handling.

GPT-6.2 Sol: 8.8, likely 7.6 to 9.6

Stable v5.12.8 combines schema validation, informative validation errors, response serialization, scoped hooks, and route testing. A third-party PostgreSQL workload put Fastify ahead of Express and Hono on Node.js, though the speedup will vary by workload. The versioned examples and test API make generated routes easy to check, and there is little direct evidence on coding-agent accuracy. Plugin-scoped type inference adds setup, and users have reported gaps between reply types and runtime behavior.

Holds up over time8.6

Will it still be a good choice in two years?

Claude Opus 5.5: 8.5, likely 7.5 to 9.0

It is an OpenJS Foundation project with many maintainers and paid core contributors. The repository shows 357 commits and 32 releases in the last year, and only 64 issues are open. Version 6 is in alpha. Major versions have brought manageable breaking changes, and the documented support window for v5 softens them.

GPT-6.2 Sol: 8.6, likely 7.3 to 9.5

Fastify recorded 357 commits and 32 GitHub releases in a year, with security and bug fixes still reaching v5 while v6 is in alpha. Five listed lead maintainers share release responsibility, and Nearform and Platformatic support maintenance under OpenJS Foundation hosting. Some backports merge quickly, but the open pull requests and limited turnaround data leave uncertainty about routine response times. The planned Node.js 24 minimum and coordinated plugin upgrades add work for the next major release.

Used widely6.6

How many use it, and is that growing?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

Downloads rose about 6.9 times year over year, from 13M to 90M per 4 weeks, which beats the 4.1 median. Part of that jump is likely from installs pulled in by other tools rather than direct choices. Its 16.7k dependent repos are far below Express (1.85M) and Koa (110k), but similar to hapi and h3, so direct adoption is probably in the tens to hundreds of thousands of projects.

  • npm downloadsLast4Weeks: 90M now against 13M a year ago, a ratio of about 6.9
  • dependents: 16,712 repos and 3,270 packages
  • github stars: 37k stars, in the same range as Koa and Hono
  • peers: Express dependents 1.85M and Hono downloads 425M

GPT-6.2 Sol: 6.2, likely 4.9 to 7.5

Four-week downloads rose from 13.0 million to 90.0 million, about 6.95 times year over year against the 4.1 times benchmark. Growth outpaced Express and NestJS, while Hono grew much faster. The 16,712 indexed dependent repositories and 3,270 packages point to established use, with Express and NestJS ahead in repository coverage. Automated installs, installs through the NestJS adapter, and uneven indexing leave the number of projects choosing Fastify directly uncertain.

  • npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: About 6.95 times prior-year downloads versus a 4.1 times catalog median.
  • dependents repos, packages; peers: Fastify has 16,712 indexed repos and 3,270 packages. Express and NestJS lead on repos.
  • github stars: 37,449 stars, near Hono and Koa and behind Express and NestJS.
  • bluesky posts, top; peers blueskyPosts: 12 repository links, below Hono and Express. The top posts announce security fixes.
  • github.com/nestjs/nest/blob/master/packages/platform-fastify/package.json: NestJS’s optional adapter installs Fastify as a dependency.
  • survey.stackoverflow.co/2026/technology/data: Reported use rose from 2.9% in 2025 to 3.5% in 2026.
Vouched for7.9

Who stands behind it being good?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

The Thoughtworks Radar has it in Adopt (Nov 2025). NestJS ships an official Fastify adapter, and independent comparisons widely name it the pick for Node.js servers. In State of JS 2025 the satisfaction leaders were Hono, Nitro and Elysia, not Fastify. One older production report from Trivago saw no performance gain after migrating.

GPT-6.2 Sol: 8.2, likely 7.0 to 9.1

Thoughtworks moved Fastify to Adopt in November 2025 after its teams saw measurable performance gains, and State of JavaScript 2025 recorded 86% satisfaction. NestJS maintains a first-party adapter and Vercel offers a documented deployment path. Hono scores higher on survey satisfaction, NestJS now recommends its own Node adapter, and public measurements from named production deployments are limited.

Safe7.0

How safe is it to depend on?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

The OSV database lists 14 advisories in 24 months, several of them high-severity validation and auth bypasses, and some were regressions of earlier fixes. Fixes shipped quickly and the security process is clearly active. The Scorecard is 8.4, it pulls in 15 dependencies, and the licence is MIT. The steady stream of bypasses forces frequent upgrades.

  • advisories last24Months: 14 advisories, including HIGH validation and auth bypasses in Sep 2026
  • scorecard: Score 8.4, with weaker checks for SAST (3) and pinned dependencies (5)
  • advisories.gitlab.com/npm/fastify/CVE-2026-33806: Content-Type bypass was a regression of an earlier fix
  • npm dependencies: 15 direct dependencies, MIT licence

GPT-6.2 Sol: 7.5, likely 6.2 to 8.5

Fastify uses the permissive MIT license and has 15 direct runtime dependencies. Release notes show fixes for all five recent advisories in the bundle and a further fix in v5.12.8. OpenSSF scored it 8.4, with full marks for fuzzing and the security policy, and weaker marks for dependency pinning, branch protection, and static analysis. Lead maintainers control core releases and the current GitHub release commit is signed, while npm artifact provenance remains unverified.

Good

  • JSON Schema validation and fast serialization are built into every route, so input checks and response shaping need no extra libraries.
  • The encapsulated plugin system and official plugins (CORS, JWT, multipart, rate limit, Swagger) cover most API needs.
  • It is among the fastest Node.js frameworks in independent and official benchmarks, clearly ahead of Express.
  • It is actively co-maintained under the OpenJS Foundation, with frequent releases and quick security fixes.

Bad

  • It targets Node.js. It is not designed for edge or serverless runtimes the way Hono is, and its cold starts are slower.
  • Several high-severity validation-bypass advisories in 2026, some of them regressions of earlier fixes, mean you must upgrade often.
  • Its ecosystem is smaller than Express's, and middleware written for Express needs adapters or replacements.
  • TypeScript typing through type providers works but is clunkier than Hono's or Elysia's inference.

The numbers

npm downloads, 4 weeks
90M ×6.9 in a year
GitHub stars
37k
Commits, 12 months
357
npm version
5.12.8 Nov 2026
Versions, 12 months
26
Advisories, 24 months
14 of 18 ever
OpenSSF Scorecard
8.4 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (fastify/fastify), npm (fastify), OSV and the OpenSSF Scorecard.

Server frameworks

  1. 8.4Hono
  2. 8.3Fastify
  3. 8.2NestJS
  4. 7.3Express
  5. 7.0AdonisJS
  6. 6.8Elysia
  7. 6.7h3
  8. 5.5Koa
  9. 5.4hapi
  10. 3.8Restify
Compare all 10 on six scores