graphql-scalarsv2.0.0, 20 Aug 2026
A collection of scalar types not included in base GraphQL.
$ npm install graphql-scalarsgraphql-query-complexityv2.0.0, 23 Jul 2026
Validation rule for GraphQL query complexity analysis
$ npm install graphql-query-complexity| Metric | graphql-scalars | graphql-query-complexity | Difference |
|---|---|---|---|
| Weekly downloads | 2,163,569 | 772,025 | graphql-scalars 2.8x higher |
| 12-month download growth | +107% | +108% | graphql-query-complexity +1 pts |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 1 | 1 | Same |
| Unpacked size | 577 kB | 60 kB | graphql-query-complexity 9.7x smaller |
| Latest release | 2.0.0, 20 Aug 2026 | 2.0.0, 23 Jul 2026 | graphql-scalars 28 days more recent |
| Releases, last 12 months | 3 | 2 | graphql-scalars 1 more |
| First published | 22 Sept 2016 | 2 Aug 2017 | graphql-scalars 10 months earlier |
| GitHub stars | 1,932 | 750 | graphql-scalars 2.6x higher |
| Open issues | 40 | 9 | graphql-scalars 31 more |
| Open pull requests | 13 | 4 | graphql-scalars 9 more |
| Contributors | - | - | - |
| Commits, last 52 weeks | 155 | 4 | graphql-scalars 38.8x higher |
| TypeScript types | Bundled | Bundled | Same |
| Module format | ESM + CommonJS | ESM + CommonJS | Same |
| Runtimes | - | - | - |
| License | MIT | MIT | Same |
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.
graphql-scalars2.2m latest weekgraphql-query-complexity770.3k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
graphql-scalars
Major versions
- 0.0.022 Sept 2016
- 1.0.08 Aug 2019
- 2.0.020 Aug 2026
Last 5 releases
- 2.0.020 Aug 2026
- 1.26.011 Aug 2026
- 1.25.014 Oct 2025
- 1.24.219 Mar 2025
- 1.24.129 Jan 2025
93 releases in total, 3 in the last 12 months
graphql-query-complexity
Major versions
- 0.1.02 Aug 2017
- 1.0.010 Jun 2024
- 2.0.023 Jul 2026
Last 5 releases
- 2.0.023 Jul 2026
- 1.1.111 Jun 2026
- 1.1.08 Apr 2025
- 1.0.010 Jun 2024
- 0.12.029 Aug 2022
25 releases in total, 2 in the last 12 months
graphql-scalars
-
graphql-query-complexity
-
graphql-scalars
-
graphql-query-complexity
-
- Module formatBoth ESM + CommonJS
- Need TypeScript types in the package itselfBoth
- Node.js version requirementgraphql-scalars: >=10; graphql-query-complexity: none declared (engines field in package.json)
- Need the more recent releasegraphql-scalars (2.0.0 on 20 Aug 2026 vs 2.0.0 on 23 Jul 2026)
- Higher weekly npm downloadsgraphql-scalars (2.2m vs 772k)
Each line is generated from the data above.
graphql-scalars: graphql-scalars npm registry, graphql-scalars npm downloads, graphql-scalars GitHub, graphql-scalars jsDelivr. Data fetched 25 Sept 2026.
graphql-query-complexity: graphql-query-complexity npm registry, graphql-query-complexity npm downloads, graphql-query-complexity GitHub. Data fetched 25 Sept 2026.
Indexability: Indexed.