apollo-server-express 2.21.2
Production-ready Node.js GraphQL server for Express and Connect
apollo-server-express@2.21.2 was published on 2021-03-18. Its manifest declares 17 runtime dependencies and 1 peer requirement. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=6.
Deprecated: The `apollo-server-express` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
All apollo-server-express versions · Permanent reference to 2.21.2 · Latest release
Package specifications
| Version | 2.21.2 |
|---|---|
| License declaration | MIT |
| Published | 2021-03-18T19:52:16.906Z |
| Node.js requirement | >=6 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 17 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 68.61 KiB |
| Published file count | 28 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | dist/index.js |
| Side effects declaration | Not declared |
| Direct advisories | Unknown |
| Resolved graph dependencies | Unknown |
| Repository stars | 13954 |
| Repository forks | 2001 |
Install apollo-server-express 2.21.2
npm install apollo-server-express@2.21.2 pnpm add apollo-server-express@2.21.2 yarn add apollo-server-express@2.21.2
Runtime dependencies
- cors ^2.8.4
- accepts ^1.3.5
- express ^4.17.1
- type-is ^1.6.16
- parseurl ^1.3.2
- @types/cors 2.8.8
- body-parser ^1.18.3
- graphql-tools ^4.0.8
- @types/accepts ^1.3.5
- @types/express 4.17.11
- @types/body-parser 1.19.0
- apollo-server-core ^2.21.2
- apollo-server-types ^0.6.3
- graphql-subscriptions ^1.0.0
- subscriptions-transport-ws ^0.9.16
- @types/express-serve-static-core 4.17.18
- @apollographql/graphql-playground-html 1.6.27
Peer requirements
- graphql ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0
Optional dependencies
- None declared
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
|---|---|
| Maintained | 2/10 — 1 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 2 |
| Code-Review | 3/10 — Found 8/21 approved changesets -- score normalized to 3 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Token-Permissions | 9/10 — detected GitHub workflow tokens with excessive permissions |
| Pinned-Dependencies | 4/10 — dependency not pinned by hash detected -- score normalized to 4 |
| License | 10/10 — license file detected |
| Security-Policy | 10/10 — security policy file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/apollo-server-express/2.21.2 — retrieved 2026-10-31T19:54:52.922Z
- https://api.deps.dev/v3/projects/github.com%2Fapollographql%2Fapollo-server — retrieved 2026-10-31T19:08:43.648Z