Skip to content
JS
Comparison

@apollo/cache-control-types vs type-graphql

GraphQLPackage data 25 Sept 2026
@apollo/cache-control-typesv1.0.3, 26 Jun 2023

TypeScript types for Apollo Server info.cacheControl

$ npm install @apollo/cache-control-types
type-graphqlv2.0.0-rc.3, 8 Feb 2026

Create GraphQL schema and resolvers with TypeScript, using classes and decorators!

$ npm install type-graphql
Metric@apollo/cache-control-typestype-graphqlDifference
Weekly downloads2,090,351510,146@apollo/cache-control-types 4.1x higher
12-month download growth+66%+101%type-graphql +35 pts
Gzip size---
Minified size---
Dependencies06type-graphql 6 more
Unpacked size74 kB343 kB@apollo/cache-control-types 4.6x smaller
Latest release1.0.3, 26 Jun 20232.0.0-rc.3, 8 Feb 2026type-graphql 2.6 years more recent
Releases, last 12 months00Same
First published3 Aug 202231 Jan 2018type-graphql 4.5 years earlier
GitHub stars13,9548,090@apollo/cache-control-types 1.7x higher
Open issues5999type-graphql 40 more
Open pull requests2921@apollo/cache-control-types 8 more
Contributors---
Commits, last 52 weeks4725@apollo/cache-control-types 1.9x higher
TypeScript typesBundledBundledSame
Module formatESM + CommonJSESM + CommonJSSame
Runtimes---
LicenseMITMITSame

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

@apollo/cache-control-types2.1m latest weektype-graphql510.1k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

@apollo/cache-control-types

Major versions
  1. 1.0.03 Aug 2022
Last 5 releases
  1. 1.0.326 Jun 2023
  2. 1.0.24 Aug 2022
  3. 1.0.14 Aug 2022
  4. 1.0.03 Aug 2022
4 releases in total, 0 in the last 12 months

type-graphql

Major versions
  1. 0.1.031 Jan 2018
  2. 1.0.019 Aug 2020
Last 5 releases
  1. 1.1.14 Nov 2020
  2. 1.1.012 Oct 2020
  3. 1.0.019 Aug 2020
  4. 0.17.621 Dec 2019
  5. 0.17.518 Aug 2019
37 releases in total, 0 in the last 12 months
@apollo/cache-control-types

-

type-graphql

-

@apollo/cache-control-types

-

type-graphql

-

  • Need no runtime dependencies@apollo/cache-control-types (@apollo/cache-control-types has 0, type-graphql has 6)
  • Module formatBoth ESM + CommonJS
  • Need TypeScript types in the package itselfBoth
  • Node.js version requirement@apollo/cache-control-types: none declared; type-graphql: >= 20.11.1 (engines field in package.json)
  • Need the more recent releasetype-graphql (2.0.0-rc.3 on 8 Feb 2026 vs 1.0.3 on 26 Jun 2023)
  • Higher weekly npm downloads@apollo/cache-control-types (2.1m vs 510.1k)

Each line is generated from the data above.

Indexability: Indexed.