nextjs-plugin-graphql weekly downloads statistics
By platypusrex · npm · Webpack plugins
Next.js plugin to preprocess GraphQL Documents
nextjs-plugin-graphql has 3 recorded weekly downloads on npm, a decrease of 85.0% over the past 30 days.
It ranks #2133 of 2,251 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by -88.0%.
PluginStats has 543 daily observations since Apr 23, 2025; the latest is from Oct 17, 2026.
About nextjs-plugin-graphql
Next.js + GraphQL Documents
Next.js plugin for preprocessing GraphQL Documents (operations, fragments and SDL)
Installation
npm
pnpm
yarn
Usage
Create a next.config.js in your project
Optionally add Next.js configuration as a parameter
And now in your components you can import .graphql | .gql files
Options
graphqlOptions
The plugins supports all available options of graphql-tools webpack loader. Check out the documentation for the list of options.
Example with options:
Typescript
Typescript is unable to interpret imported graphql files, so nextjs-plugin-graphql includes definitions for graphql files (.graphql/.gql). Per the recommendations of the Next.js maintainers you should not reference these types in the next-env.d.ts file. You can instead create a typings directory inside your src directory. Then simple create a definitions file (ie: index.d.ts) and reference the definitions there. There shouldn't be any need to adjust your tsconfig.json for your project.
src/typings/index.d.ts
Contributors
This project follows the all-contributors specification. Contributions of any kind welcome!
LICENSE
MIT
Description from the npm listing.
- nextjs
- nextjs-config
- nextjs-graphql
- webpack
- webpack-plugin
- graphql
- gql
Where nextjs-plugin-graphql sits in the listing
Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Recent observations
Full history (543)Similar npm Webpack plugins plugins
Data source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/nextjs-plugin-graphql. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.