@zealakit/css-doctor-next weekly downloads statistics
By zealakit · npm · Webpack plugins
Next.js integration for css-doctor page-coverage CSS splitting
@zealakit/css-doctor-next has 160 recorded weekly downloads on npm, ranking #1875 of 2,819 tracked listings.
About @zealakit/css-doctor-next
@zealakit/css-doctor-next
Next.js App Router and Pages Router integration for css-doctor.
English | Tiếng Việt | 简体中文
</div>
Installation
pnpm add -D @zealakit/css-doctor-next
Usage
import { withCssDoctor } from "@zealakit/css-doctor-next";
export default withCssDoctor(
{ reactStrictMode: true },
{
pageCoverage: {
enabled: true,
minPageRatio: 0.5,
forceCommon: [".app-shell", ".nav-link"],
},
sizeBudget: {
enabled: true,
maxChunkSize: 40 * 1024,
isolateVariables: true,
},
report: true,
},
);
Options
| Option | Default | Description |
|---|---|---|
pageCoverage.enabled | true | Enable page/class coverage classification. |
pageCoverage.minPageRatio | 0.5 | Minimum ratio (0.0-1.0) for the common chunk. |
pageCoverage.forceCommon | [] | Selectors or classes forced into common CSS. |
sizeBudget.enabled | true | Enable byte-budget splitting. |
sizeBudget.maxChunkSize | 60 * 1024 | Maximum bytes per emitted chunk. |
sizeBudget.isolateVariables | true | Extract :root and @theme variables first. |
minify | production | Minify emitted CSS with LightningCSS. |
report | true | Print coverage and chunk diagnostics. |
exclude | CSS Modules safety | Skip matching CSS assets. |
Safety and limitations
- Preserves the existing webpack callback and applies only to the production client build.
- CSS Modules are skipped automatically; common chunks remain linked through @import wrappers.
- Peer range next >=13 is intentionally broad.
Full documentation
Project README: English | Tiếng Việt | 简体中文
Description from the npm listing.
- css
- css-doctor
- next
- nextjs
- next.js
- webpack
- webpack-plugin
- react
- app-router
- pages-router
- css-analysis
- css-optimizer
- dead-code-elimination
- unused-css
- purgecss
- css-splitting
- page-coverage
- performance
- web-performance
- frontend
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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.
Each band is one page of 20. Weekly downloads on a linear 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.
Recent observations
Full history (1)Similar npm Webpack plugins plugins
All 20 @zealakit/css-doctor-next alternativesData 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/@zealakit/css-doctor-next. First seen Nov 4, 2026; last successful collection Nov 4, 2026. See the methodology.