Skip to content
JS
Package

graphql-cost-analysis

Graphql query cost analyzer. Use it to protect your GraphQL servers against DoS attacks, compute data consumption per user and limit it.

v1.0.3, 27 Jan 2019MITCommonJSTypes: NoneGraphQL
$ npm install graphql-cost-analysis

Key numbers

As of 25 Sept 2026
Weekly downloads
3.5k
+18% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
7 years ago
v1.0.3
GitHub stars
678
21 forks
Open issues / PRs
11 / 14
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
05k10k15kSept 2025Mar 2026Sept 2026High 11.3k (9 Jun 2026)Low 2k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

3,497 downloads last week, 20,358 in the last month. The 12-month change of +18% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.0.3, 27 Jan 20197 years ago
First published
-
Last push to GitHub
4 Jan 20231,359 days before the snapshot
Repository archived
No
Open issues
11
Open pull requests
14
Commits, last 52 weeks
0
Dependents on npm
6

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
32 kB
Dependencies (1)
selectn
Peer dependencies (1)
graphql
npm install graphql-cost-analysis
  • jsDelivrhttps://cdn.jsdelivr.net/npm/graphql-cost-analysis@1.0.3/
  • unpkghttps://unpkg.com/graphql-cost-analysis@1.0.3/
  • esm.shhttps://esm.sh/graphql-cost-analysis@1.0.3
PackageWeekly downloadsGzipLast releaseModuleComparison
graphql-query-complexity772k-2 months agoESM + CommonJS-
@apollo/cache-control-types2.1m-3 years agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 3497 < 10000.