Skip to content
JS
Package

graphql-constraint-directive

Validate GraphQL fields

v6.0.0, 16 Dec 2024ISCCommonJSTypes: BundledSchema validationGraphQL
$ npm install graphql-constraint-directive

Key numbers

As of 25 Sept 2026
Weekly downloads
38.7k
+33% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
1 year ago
v6.0.0
GitHub stars
577
72 forks
Open issues / PRs
26 / 19
Contributors
-
Commits, last 52 weeks
13

Downloads

Last week 2026-09-15 to 2026-09-21
025k50k75k100kSept 2025Mar 2026Sept 2026High 90.2k (24 Mar 2026)Low 16.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.

38,681 downloads last week, 204,179 in the last month. The 12-month change of +33% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
6.0.0, 16 Dec 20241 year ago
First published
-
Last push to GitHub
25 Sept 2026same day as the snapshot
Repository archived
No
Open issues
26
Open pull requests
19
Commits, last 52 weeks
13
Dependents on npm
10

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=14.0.0
Runtimes
-
Unpacked size (npm)
309 kB
Dependencies (3)
validator@graphql-tools/utils@graphql-tools/schema
Peer dependencies (1)
graphql
npm install graphql-constraint-directive
  • jsDelivrhttps://cdn.jsdelivr.net/npm/graphql-constraint-directive@6.0.0/
  • unpkghttps://unpkg.com/graphql-constraint-directive@6.0.0/
  • esm.shhttps://esm.sh/graphql-constraint-directive@6.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@pothos/plugin-zod28.5k-11 days agoESM + CommonJS-
@octokit/graphql-schema232.6k-9 months agoESM only-
express-validator1.1m-5 months agoCommonJS-
swagger-cli100.8k-6 years agoCommonJS-
@lssm-tech/lib.schema8.3k-5 days agoESM only-
schema-to-yup23.5k-2 years agoCommonJS-
@apidevtools/swagger-parser4.1m-4 days agoCommonJS-
swagger-parser985.9k-5 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.