Web frameworks

Express vs NestJS

Express has 2 supported release lines; endoflife.date doesn’t track NestJS. Both are open source under the MIT licence. OSV.dev lists 1 advisory from the last 12 months for NestJS and none for Express.

Last checked against endoflife.date, npm, deps.dev, OSV.dev and CISA KEV.

Side by side

Every value links to its source. Where a row doesn’t apply to one of them, the cell says why.

Support and releases
ExpressNestJS
Supported release lines

2 lines: 5, 4

No end dates published

endoflife.date

Not tracked by endoflife.date

Latest release

5.3.0

Released Oct 9, 2026

endoflife.date

12.1.3

Released Oct 12, 2026

npm

Releases in the last 12 months

7 releases

express on npm

npm

42 releases

@nestjs/core on npm

npm

Security
ExpressNestJS
Advisories published in the last 12 months

None

For express

OSV.dev

1, worst rated moderate

For @nestjs/core and 1 related package

OSV.dev

OpenSSF Scorecard

8.5 / 10

expressjs/express, Aug 24, 2026

Scorecard

6.8 / 10

nestjs/nest, Aug 24, 2026

Scorecard

Licence and hosting
ExpressNestJS
Licence

MIT

Open source (permissive)

deps.dev

MIT

Open source (permissive)

deps.dev

How you run it

Your own Node.js server

Your own Node.js server

Adoption
ExpressNestJS
npm downloads last week

145M

express

npm

16.4M

@nestjs/core

npm

GitHub stars

69.6K

expressjs/express

GitHub

76.9K

nestjs/nest

GitHub

  • Advisory counts cover every version, old ones included, and a heavily used, well-audited project often has more. Check the versions you run with the dependency check.

Which fits your constraints

Read across for what matters to you. Each answer comes from the data above or the project’s licence and hosting options.

How Express and NestJS fit common constraints
ExpressNestJS
An open-source licence

Yes: MIT

Yes: MIT

A long support window

No end dates published

Not tracked by endoflife.date

The language your team writes

JavaScript (Node.js)

TypeScript (Node.js)

What each is good at

Express

Minimal Node.js web framework

Strengths

  • Lightweight and flexible
  • Huge ecosystem
  • Easy to learn
  • Unopinionated

Trade-offs

  • Minimal built-in features
  • Manual setup required
  • Callback-based (older API)

Common uses

  • REST APIs
  • Microservices
  • Middleware chains
  • Backend services

NestJS

Structured Node.js framework with modules, dependency injection and decorators

Strengths

  • Consistent architecture (modules, controllers, providers)
  • Dependency injection built in
  • TypeScript-first
  • Runs on Express (default) or Fastify
  • First-party modules for GraphQL, WebSockets and microservices

Trade-offs

  • More boilerplate than minimal frameworks
  • Decorators and dependency injection take time to learn
  • Abstraction layers add indirection when debugging

Common uses

  • Large backend codebases
  • Enterprise APIs
  • GraphQL servers
  • Microservices

From StackPrism’s curated notes. Pricing isn’t covered here: it changes often, so check each vendor’s pricing page.

When teams weigh these two

NestJS is built on top of Express (or Fastify) and adds modules, dependency injection and decorators, so the choice is about structure: Express leaves the architecture to you, while NestJS gives a large codebase one consistent shape.

How this comparison works

Release lines and end-of-life dates come from endoflife.date, release counts from deps.dev’s publish dates, and advisories from OSV.dev, counted once per flaw even when it’s listed under several ids, and checked against CISA’s list of vulnerabilities known to be exploited. Status and incident history come from each vendor’s public status feed; licences from each project’s licence file or the vendor’s licensing page, linked in the table.

The data refreshes every few hours and the time it was checked is shown above. There’s no pricing and no overall winner: which one fits depends on your constraints. To see how the versions you actually run hold up, check your repo.

Already using one of them?

Paste a public GitHub repo and see what’s vulnerable, end of life or deprecated in it today. Free, no sign-up.