NestJS
A strong pick. 3rd of 10 server frameworks.
NestJS is a TypeScript framework for Node.js backends with dependency injection and modules, built on Express or Fastify. It is the standard choice for large, structured APIs. Version 12 (October 2026) ships ESM packages and Standard Schema validation, and work on it is very active. It is heavier and more verbose than Fastify or Hono, and it runs only on Node.js.
Best for: Teams building long-lived Node.js backends that want enforced structure, dependency injection and official modules for GraphQL, microservices, queues and auth.
Scores
Overall8.2
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 8.0, likely 7.5 to 8.5
For structured, team-sized Node.js APIs it is the strongest choice available: very actively maintained, with the deepest first-party ecosystem and broad production trust. It falls short of a category-wide default because Fastify is leaner for simple services, Hono covers edge and multi-runtime work and is growing faster, and NestJS's boilerplate and decorator-based types are real costs. Rank it near Fastify and Hono, ahead of Express, Koa, hapi and Restify for new work.
- npm downloads ratio vs medianDownloadsRatio: 4.19 against 4.1: steady share. Hono and Fastify are growing faster.
- infoq.com/news/2026/10/nestjs-12-observability: The v12 modernisation shows active investment.
- encore.dev/articles/nestjs-vs-fastify-vs-hono: Clear trade-offs against Fastify and Hono.
GPT-6.2 Sol: 8.3, likely 7.3 to 9.0
NestJS is one of the strongest choices for a long-lived TypeScript API on Node.js when the team wants shared conventions for modules, testing, and request handling. Active maintenance and current downstream adoption make that a credible long-term choice. Fastify fits services that prioritize low overhead, and Hono fits small APIs that need edge portability. The benefit of NestJS's structure depends on how much the service grows, and recent upgrades show that even minor releases can require review.
- github.com/nestjs/nest/releases/tag/v12.6.0: Current release shows continued investment in types and adapters
- github.com/vendurehq/vendure/releases/tag/v3.8.0: An established downstream platform adopted v12
- dev.to/fabwaseem/nestjs-vs-hono-vs-fastify-2026-benchmarked-on-nodejs-26-41dp: Fastify and Hono have lower overhead in tested configurations
- github.com/nestjs/nest/releases/tag/v12.5.0: Recent minor release changed transport defaults
- github: 47 releases in the past year
Needed by many6.3
How many developers need a tool for this job?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
Most backend JS/TS developers need a server framework. NestJS's take, an opinionated, DI-heavy framework for Node only, serves a large but smaller group: teams building structured, long-lived APIs. Small services, edge functions and full-stack meta-framework users mostly do not need it.
- encore.dev/articles/nestjs-vs-fastify-vs-hono: Recommended for long-lived backends with 3+ developers. Node only, no edge runtimes.
- 2025.stateofjs.com/en-US/libraries/back-end-frameworks: Backend frameworks are a mainstream survey category, and NestJS usage is growing.
GPT-6.2 Sol: 6.1, likely 5.0 to 7.2
Building HTTP APIs is common in JavaScript and TypeScript, and NestJS covers a wide range of Node.js backends. Its application structure is most valuable when a service has several features or contributors. The range reflects how much of a team's backend work calls for that structure or targets an edge runtime.
- survey.stackoverflow.co/2026/technology/data: Node.js used by 46.4% of web technology respondents
- docs.nestjs.com/faq/nest-vs-fastify-express-hono: Node.js adapters and deployment tradeoffs
- reddit.com/r/node/comments/1re2p8o/am_i_the_only_one_who_feels_like_nestjs_is: Users report both clearer structure and extra overhead
Helps a lot8.3
How well does it do the job for those who need it?
Claude Opus 5.5: 8.0, likely 7.0 to 8.5
No peer matches its feature set for large APIs: DI, modules, guards, interceptors, microservice transports, GraphQL, WebSockets and testing utilities. v12 adds Standard Schema validation (Zod, Valibot, ArkType) and observability. The limits are clear: verbose boilerplate, legacy decorators that weaken type inference, slow cold starts, and Node only. Its long history and fixed conventions help AI agents write correct code for it.
- infoq.com/news/2026/10/nestjs-12-observability: v12 brings ESM, Standard Schema route validation, @nestjs/observe and built-in CSRF and cookies in 12.1. Types still need manual annotation because of legacy decorators.
- encore.dev/articles/nestjs-vs-fastify-vs-hono: Richest first-party ecosystem. More code per endpoint, a large bundle and no edge support.
- dev.to/aleksei_aleinikov/why-i-moved-from-nestjs-to-fastify-and-ddd-in-2026-5bdm: A user reports excess abstraction, slower debugging and version conflicts between packages.
- encore.dev/resources/nestjs-vs-fastify-vs-hono: Benchmark: cold start of about 526 ms on the Fastify adapter, against about 102 ms for Hono.
GPT-6.2 Sol: 8.5, likely 7.6 to 9.2
Version 12.6 combines typed HTTP adapters, a configurable request pipeline, and documented tools for testing and troubleshooting. The CLI gives coding agents current examples and conventions, though there is little independent evidence on how reliably they apply them. An independent v12 benchmark found a startup, memory, and throughput cost with the Fastify adapter on simple routes. The cost in a production API depends on the adapter and how much work each request does.
- github.com/nestjs/nest/releases/tag/v12.6.0: Current stable release adds adapter type inference
- docs.nestjs.com/fundamentals/testing: Provider overrides and end-to-end testing
- docs.nestjs.com/faq/common-errors: Troubleshooting for provider resolution and other common errors
- docs.nestjs.com/cli/usages: CLI scaffolding and official coding-agent guidance
- dev.to/fabwaseem/nestjs-vs-hono-vs-fastify-2026-benchmarked-on-nodejs-26-41dp: Independent v12.3 benchmark on three simple routes
Holds up over time8.4
Will it still be a good choice in two years?
Claude Opus 5.5: 8.5, likely 7.5 to 9.0
Activity is very high: 3,403 commits and 47 releases in the last year, a major version in October 2026, and only 9 open issues. Trilon, the creator's consultancy, and sponsors pay for the work, but the project still depends heavily on its creator. Major upgrades come with an automated upgrade command, though v12 brought some ESM and lifecycle-hook pain.
- github commitsLastYear / releasesLastYear: 3,403 commits and 47 releases. The latest release is v12.6.0, from 2026-11-20.
- github openIssues: 9 open issues against 5,975 closed: triage is fast.
- infoq.com/news/2026/10/nestjs-12-observability: The `nest upgrade` path exists. Reported v12 issues include Lambda and path aliases under ESM, and Fastify middleware exceptions that hang.
- Trilon / Open Collective funding: Paid for through the creator's consultancy and sponsors. One core lead.
GPT-6.2 Sol: 8.3, likely 7.1 to 9.2
The repository recorded 3,403 commits and 47 releases in a year, has a small open issue backlog, and receives recurring funding. Several contributors ship fixes, while the public release history shows the same lead maintainer publishing releases. The v12 upgrade command handles many mechanical changes, but users still report Jest compatibility work. Changes to defaults in minor releases and uncertainty about how many people can publish widen the range.
- github: 47 releases, 3,403 commits, 9 open issues, and 40 open pull requests
- opencollective.com/nest: Recurring contributions and a public budget
- github.com/nestjs/nest/releases/tag/v12.6.0: Lead maintainer published a release with multiple contributors
- docs.nestjs.com/migration-guide: Automated upgrade and documented tooling changes
- github.com/BenLorantfy/nestjs-zod/issues/471: Downstream maintainers report Jest friction
- github.com/nestjs/nest/releases/tag/v12.5.0: Minor release changed WebSocket and other limits
Used widely7.5
How many use it, and is that growing?
Claude Opus 5.5: 8.0, likely 7.0 to 8.5
About 96M downloads in 4 weeks, up from 22.9M, a ratio of 4.19. That is just above the 4.1 median, so it is holding ground rather than gaining. Its 78k dependent repos are second only to Express and Koa among the peers, and far above Fastify (16.7k) and Hono (668), so many projects choose it directly. Hono and Fastify are growing faster.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 95.98M against 22.90M, a ratio of 4.19 next to a median of 4.1.
- dependents.repos: 78,379 repos and 6,141 packages, a strong count among the peers.
- github stars: 77k stars, the most in the category.
- 2025.stateofjs.com/en-US/libraries/back-end-frameworks: Survey commentary says NestJS usage is 'progressing at a nice clip'.
GPT-6.2 Sol: 6.9, likely 5.8 to 8.0
The collector found 78,379 dependent repositories and 6,141 npm packages, well ahead of Fastify in this sample and far behind Express in repository count. Four-week downloads rose 4.19 times year over year, just above the 4.1 median and below Fastify's 6.95 and Hono's 40.04. Surveys show broad adoption among Node.js framework users, while the supplied Bluesky sample shows less attention than those three peers. Automated installs, shared repository stars, and partial dependency coverage leave the number of projects choosing NestJS uncertain.
- dependents: 78,379 repositories and 6,141 npm packages
- npm: 96.0 million four-week installs versus 22.9 million a year earlier
- medianDownloadsRatio: 4.1 times year-over-year baseline
- peers: Express leads repository count, while Fastify and Hono grew faster
- github stars: 77,112 stars across the NestJS repository
- bluesky posts: Seven posts linked to the repository
- 2025.stateofjs.com/en-US/libraries/back-end-frameworks: Reports rising NestJS usage with Express still leading
- survey.stackoverflow.co/2026/technology/data: NestJS at 5.8%, ahead of Fastify and Hono
Vouched for7.8
Who stands behind it being good?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
Companies run it widely in production, and InfoQ, survey commentary and independent comparisons consistently call it the enterprise choice for Node. The State of JS 2025 shows growing usage with mixed pain-point sentiment. Satisfaction leadership goes to newer frameworks such as Hono and Elysia. I found no exact satisfaction figure, which keeps the range wide.
- 2025.stateofjs.com/en-US/libraries/back-end-frameworks: Usage is growing, with 46 pain-point mentions. Hono, Nitro and Elysia lead satisfaction.
- infoq.com/news/2026/10/nestjs-12-observability: Independent coverage of v12 with positive community reaction.
- encore.dev/articles/nestjs-vs-fastify-vs-hono: A third-party comparison names it the pick for large team backends.
- Production users: Widely used by companies such as Adidas, Roche and Decathlon, as listed on the NestJS site.
GPT-6.2 Sol: 8.0, likely 6.9 to 9.0
Vendure builds its commerce platform on NestJS and upgraded to v12, and Amygdal documents two production systems that use it. Independent engineers report benefits from its structure on larger backends and measure the cost on simple routes. Hono, Nitro, and Elysia led State of JavaScript satisfaction, and the public evidence still covers a limited set of v12 production workloads.
- github.com/vendurehq/vendure/releases/tag/v3.8.0: Vendure moved its commerce platform to NestJS 12
- amygdal.com/blog/nestjs-prisma-postgresql-architecture: Engineering team documents two deployed NestJS backends
- oronts.com/en/guides/typescript-backends-beyond-express: Engineering team compares frameworks it runs in production
- dev.to/fabwaseem/nestjs-vs-hono-vs-fastify-2026-benchmarked-on-nodejs-26-41dp: Independent comparison of throughput, startup, and memory
- 2025.stateofjs.com/en-US/libraries/back-end-frameworks: Newer frameworks lead survey satisfaction
Safe7.7
How safe is it to depend on?
Claude Opus 5.5: 8.0, likely 7.0 to 8.5
The core has a small footprint of 5 dependencies and an MIT licence. Only 2 moderate advisories have ever been issued, and the 2026 SSE injection was patched in 11.1.18 the same day it was disclosed. The Scorecard is 7.5, with weak checks for Pinned-Dependencies, Fuzzing, CII badge and partial Code-Review. In practice, apps pull in many @nestjs/* packages plus Express or Fastify, which widens the attack surface.
- advisories: 2 moderate advisories in total, 1 in the last 24 months.
- github.com/advisories/GHSA-36xv-jgw5-4q75: The SSE injection affected versions up to 11.1.17. The patch in 11.1.18 was published together with the advisory on Apr 3, 2026.
- scorecard: 7.5 overall. Pinned-Dependencies 0, Fuzzing 0, Code-Review 6.
- npm dependencies: 5 direct dependencies, MIT licence.
GPT-6.2 Sol: 7.4, likely 6.2 to 8.5
The permissive MIT licence and five direct core dependencies help, although adapters and optional packages add dependencies. Both moderate advisories in the bundle have fixes, and GitHub lists newer high-severity core and adapter advisories that were patched by disclosure. The 7.5 Scorecard shows strong token controls and a published security policy, with middling code review and zero scores for dependency pinning and fuzzing. The repository documents a Lerna publishing script, while npm publisher access and release provenance remain unverified.
- npm: MIT licence and five direct core dependencies
- scorecard: 7.5 overall, with code review at 6 and pinning and fuzzing at 0
- github.com/advisories/GHSA-36xv-jgw5-4q75: April 2026 moderate core issue fixed in 11.1.18
- github.com/advisories/GHSA-4jpv-8r57-pv7j: Older information disclosure fixed in 9.0.5
- github.com/nestjs/nest/security/advisories/GHSA-q223-fc7f-xg75: November high-severity core issue fixed in 12.5.0
- github.com/nestjs/nest/security/advisories/GHSA-h94v-c5rc-3pxm: November high-severity Fastify adapter issue fixed in 12.5.0
- github.com/nestjs/nest/blob/v12.6.0/package.json: Repository release script builds and publishes with Lerna
Good
- The largest first-party ecosystem of any JS server framework: GraphQL, microservices, WebSockets, CQRS, scheduling, caching, config and testing.
- Modules, providers and dependency injection keep big codebases with many developers consistent and easy to test.
- Very active upkeep: 47 releases in the last year, v12 shipped with an automated `nest upgrade` path, and the open issue count is kept near zero.
- Runs on Express or Fastify, so teams can reuse Express middleware or get Fastify's throughput.
Bad
- Runs only on Node.js. It does not work on edge runtimes such as Cloudflare Workers, which Hono covers.
- Needs a service, module and DTO even for a small endpoint. Legacy decorators and indirection make types and debugging harder than in Fastify or Hono.
- Startup is slow compared with leaner frameworks, which matters for serverless cold starts.
- Upgrades sometimes change behaviour: v12 changed lifecycle hook order and needs ESM workarounds, and 12.5 lowered the WebSocket maxPayload default to 1 MB.
The numbers
- npm downloads, 4 weeks
- 96M ×4.2 in a year
- GitHub stars
- 77k
- Commits, 12 months
- 3.4k
- npm version
- 12.6.0 Nov 2026
- Versions, 12 months
- 54
- Advisories, 24 months
- 1 of 2 ever
- OpenSSF Scorecard
- 7.5 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (nestjs/nest), npm (@nestjs/core), OSV and the OpenSSF Scorecard.