Package
graphql-constraint-directive
Validate GraphQL fields
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/graphql-constraint-directive@6.0.0/ - unpkg
https://unpkg.com/graphql-constraint-directive@6.0.0/ - esm.sh
https://esm.sh/graphql-constraint-directive@6.0.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @pothos/plugin-zod | 28.5k | - | 11 days ago | ESM + CommonJS | - |
| @octokit/graphql-schema | 232.6k | - | 9 months ago | ESM only | - |
| express-validator | 1.1m | - | 5 months ago | CommonJS | - |
| swagger-cli | 100.8k | - | 6 years ago | CommonJS | - |
| @lssm-tech/lib.schema | 8.3k | - | 5 days ago | ESM only | - |
| schema-to-yup | 23.5k | - | 2 years ago | CommonJS | - |
| @apidevtools/swagger-parser | 4.1m | - | 4 days ago | CommonJS | - |
| swagger-parser | 985.9k | - | 5 years ago | CommonJS | - |
Indexability: Indexed.