Framework config file statistics
Forty numbers on framework config files, counted from public GitHub files on 21 November 2026.
Free for one project and 100 votes. Paid plans start with a 14 day trial, no card.
File names
Eight numbers on how many public framework config files exist, by file name.
1,435,648 files have vite.config.ts in the name, and 33,088 have gatsby-config.js in the name.
The vite.config.ts file leads, and it is 43.4 times as common as gatsby-config.js.
| Statistic | Number |
|---|---|
| vite.config.ts | 1,435,648 |
| next.config.ts | 476,160 |
| next.config.mjs | 342,016 |
| next.config.js | 338,944 |
| astro.config.mjs | 132,608 |
| svelte.config.js | 77,312 |
| nuxt.config.ts | 72,448 |
| gatsby-config.js | 33,088 |
next.config.js
Eight numbers on the words that next.config.js files use.
The word images is in 49.0 in 100 next.config.js files, and sitemap in 0.5 in 100.
The word images leads, and env follows at 29.2 in 100.
| Statistic | In 100 |
|---|---|
| Images | 49.0 |
| Env | 29.2 |
| Headers | 9.4 |
| Plugins | 6.5 |
| Redirects | 5.6 |
| I18n | 5.1 |
| Analytics | 0.8 |
| Sitemap | 0.5 |
astro.config.mjs
Eight numbers on the words that astro.config.mjs files use.
The word plugins is in 39.9 in 100 astro.config.mjs files, and headers in 1.2 in 100.
The word plugins leads, and sitemap follows at 31.8 in 100.
| Statistic | In 100 |
|---|---|
| Plugins | 39.9 |
| Sitemap | 31.8 |
| Env | 14.5 |
| I18n | 6.9 |
| Redirects | 6.8 |
| Images | 6.4 |
| Analytics | 2.3 |
| Headers | 1.2 |
nuxt.config.ts
Eight numbers on the words that nuxt.config.ts files use.
The word env is in 40.7 in 100 nuxt.config.ts files, and redirects in 1.0 in 100.
The word env leads, and plugins follows at 31.4 in 100.
| Statistic | In 100 |
|---|---|
| Env | 40.7 |
| Plugins | 31.4 |
| I18n | 11.3 |
| Headers | 6.0 |
| Sitemap | 6.0 |
| Images | 4.3 |
| Analytics | 2.9 |
| Redirects | 1.0 |
gatsby-config.js
Eight numbers on the words that gatsby-config.js files use.
The word plugins is in 98.8 in 100 gatsby-config.js files, and redirects in 0.4 in 100.
The word plugins leads, and images follows at 65.4 in 100.
| Statistic | In 100 |
|---|---|
| Plugins | 98.8 |
| Images | 65.4 |
| Env | 26.4 |
| Analytics | 26.2 |
| Sitemap | 21.5 |
| Headers | 9.2 |
| I18n | 1.6 |
| Redirects | 0.4 |
What is in the file
Forty numbers, one CSV
All forty figures sit in one CSV, each row tagged with its group and unit.
Five groups
File names first, then the words found in four framework config files.
Counts, not sites
Totals and shares only, with no site, author or host named anywhere.
Easy to cite
Use one number or all forty, and name this page and the read date.
How the files were counted
One code search for each file name and each word.
Pin the file name
Each word query was tied to one file name, so every share has a known total.
Pair it with a word
One query joined a file name and a single word, and gave back the files holding both.
Ask again after a partial reply
A partial reply was requested again, up to three more times, once the limit reset.
Do the division in code
Code turned each count into a share of its file total and tested it before use.
What changes between file types
No single word wins everywhere: the top place goes to images in next.config.js files; plugins in astro.config.mjs and gatsby-config.js files; env in nuxt.config.ts files. The word sitemap swings the most in rank, second in astro.config.mjs files and eighth in next.config.js files. Read across the headers row and it runs 9.4 in next.config.js files, 1.2 in astro.config.mjs, 6.0 in nuxt.config.ts and 9.2 in gatsby-config.js.
The clearest lead is in gatsby-config.js files, where plugins stands at 98.8 in 100 against images at 65.4. The closest race is in astro.config.mjs files, where plugins stands at 39.9 in 100 and sitemap sits just behind at 31.8. Even eighth place is worth 1.2 in 100 in astro.config.mjs files, against only 0.4 in gatsby-config.js files.
| Word | next.config.js | astro.config.mjs | nuxt.config.ts | gatsby-config.js |
|---|---|---|---|---|
| Plugins | 6.5 | 39.9 | 31.4 | 98.8 |
| Images | 49.0 | 6.4 | 4.3 | 65.4 |
| Env | 29.2 | 14.5 | 40.7 | 26.4 |
| Sitemap | 0.5 | 31.8 | 6.0 | 21.5 |
| Analytics | 0.8 | 2.3 | 2.9 | 26.2 |
| Headers | 9.4 | 1.2 | 6.0 | 9.2 |
| I18n | 5.1 | 6.9 | 11.3 | 1.6 |
| Redirects | 5.6 | 6.8 | 1.0 | 0.4 |
What these numbers leave out
- Totals are files, not live sites. A starter template cloned thousands of times lifts its own words, so one popular template can move a share.
- Many public config files ship inside starters, tutorials or samples, so a share describes code on a host and not live sites.
- A word is matched anywhere in the text, so one in a comment, a test or a variable name counts like a real setting.
- The search offered no age filter, so each total mixes new files with others left alone for years.
- A word such as env, images or plugins turns up in code of every kind. Some shares run high for reasons unrelated to the framework.
- Counted but left out were four file names and, in each group, two words, so every group shows eight rows.
- Several words can sit in one file, so adding the shares together counts that file again.
- A config kept under another file name is missing here, and some projects keep theirs in a package manifest.
- Only a few file names are read, so setups for other frameworks are absent.
- Every word searched is English, so settings named in other words are mostly missing from these shares.
- A word shows what a file mentions, not whether the setting is switched on.
- Counts above a few thousand come back in coarse steps, so the 338,944 next.config.js files are a close figure, not an exact one.
- A file name search matches any name that contains the text, so vite.config.ts also counts vite.config.tsx files.
What people ask about site config
How many public next.config.js files are there?
338,944 public files have next.config.js in the name.
How many public astro.config.mjs files are there?
132,608 files have astro.config.mjs in the name.
How many public nuxt.config.ts files are there?
72,448 files have nuxt.config.ts in the name.
How many public gatsby-config.js files are there?
33,088 files have gatsby-config.js in the name.
How many next.config.js files mention images?
The word images is in 49.0 in 100 next.config.js files.
How many next.config.js files mention redirects?
The word redirects is in 5.6 in 100 next.config.js files.
How many next.config.js files mention headers?
The word headers is in 9.4 in 100 next.config.js files.
How many astro.config.mjs files mention a sitemap?
The word sitemap is in 31.8 in 100 astro.config.mjs files.
How many astro.config.mjs files mention i18n?
The word i18n is in 6.9 in 100 astro.config.mjs files.
How many nuxt.config.ts files mention analytics?
The word analytics is in 2.9 in 100 nuxt.config.ts files.
How many gatsby-config.js files mention analytics?
The word analytics is in 26.2 in 100 gatsby-config.js files.
May a page quote these figures?
Yes, with this page named and the read date. Every figure is one of the 40 rows in framework-config-file-statistics-2026-11.csv, so a reader can check it.
More files, counted
More counts from public code.
A widget in Next.js
A client component, next/script and the two errors that bite.
Add a feedback button to an Astro site
An inline tag in the layout and one script.
Add a feedback board to a Docusaurus site
A scripts entry and one React component.
Sign in code file statistics, 40 numbers
Redirect and nonce words in sign in code.
Webhook handler file statistics, 40 numbers
Signature and retry words in webhook code.
Website file statistics, 40 numbers
Robots, sitemaps, app manifests and security files.
Skip building your own feedback board
Your first board is free, with one project and 100 votes. The 14 day trial of Lite or Pro needs no card.