Package
vite-plugin-graphql-codegen
Zero-config vite plugin that uses the vite file watcher to run graphql codegen programmatically without needing to start a separate watcher
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 40.8k
- +25% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 3 months ago
- v4.0.1
- GitHub stars
- 91
- 11 forks
- Open issues / PRs
- 1 / 0
- Contributors
- -
- Commits, last 52 weeks
- 31
Downloads
Last week 2026-09-15 to 2026-09-21
40,823 downloads last week, 208,692 in the last month. The 12-month change of +25% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 4.0.1, 16 Jun 20263 months ago
- First published
- -
- Last push to GitHub
- 14 Aug 202641 days before the snapshot
- Repository archived
- No
- Open issues
- 1
- Open pull requests
- 0
- Commits, last 52 weeks
- 31
- Dependents on npm
- 8
Major versions
-
Recent releases
-
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 16 kB
- Dependencies (0)
- None
- Peer dependencies (3)
vitegraphql@graphql-codegen/cli
npm install vite-plugin-graphql-codegen- jsDelivr
https://cdn.jsdelivr.net/npm/vite-plugin-graphql-codegen@4.0.1/ - unpkg
https://unpkg.com/vite-plugin-graphql-codegen@4.0.1/ - esm.sh
https://esm.sh/vite-plugin-graphql-codegen@4.0.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @magidoc/rollup-plugin-gql-schema | 17.9k | - | 1 month ago | ESM only | - |
| graphql-codegen-apollo-next-ssr | 6.7k | - | 4 years ago | CommonJS | - |
| gatsby-plugin-typegen | 6k | - | 3 years ago | CommonJS | - |
| @graphql-tools/relay-operation-optimizer | 7m | - | 17 days ago | ESM + CommonJS | - |
| @graphql-toolkit/relay-operation-optimizer | 15.4k | - | 6 years ago | ESM + CommonJS | - |
Indexability: Indexed.