Skip to content
JS
Package

@pothos/plugin-complexity

A Pothos plugin for defining and limiting complexity of queries

v4.2.3, 13 Sept 2026ISCESM + CommonJSTypes: BundledGraphQL
$ npm install @pothos/plugin-complexity

Key numbers

As of 25 Sept 2026
Weekly downloads
17.6k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
11 days ago
v4.2.3
GitHub stars
2.6k
184 forks
Open issues / PRs
49 / 24
Contributors
-
Commits, last 52 weeks
934

No weekly download data in the snapshot.

17,577 downloads last week, 91,828 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
4.2.3, 13 Sept 202611 days ago
First published
-
Last push to GitHub
14 Sept 202610 days before the snapshot
Repository archived
No
Open issues
49
Open pull requests
24
Commits, last 52 weeks
934
Dependents on npm
13

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
157 kB
Dependencies (0)
None
Peer dependencies (2)
graphql@pothos/core
npm install @pothos/plugin-complexity
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@pothos/plugin-complexity@4.2.3/
  • unpkghttps://unpkg.com/@pothos/plugin-complexity@4.2.3/
  • esm.shhttps://esm.sh/@pothos/plugin-complexity@4.2.3
PackageWeekly downloadsGzipLast releaseModuleComparison
graphql-depth-limit1.1m-9 years agoCommonJS-
nexus143.1k-4 years agoESM + CommonJS-
@magidoc/plugin-query-generator10.4k-1 month agoESM only-
@graphql-tools/relay-operation-optimizer7m-17 days agoESM + CommonJS-
grats5.5k-5 months agoESM only-
type-graphql510.1k-7 months agoESM + CommonJS-
graphql-rate-limit-directive24k-1 year agoCommonJS-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.