Skip to content
PluginStats

@hebilicious/cssforge-unplugin weekly downloads statistics

By hebilicious · npm · Webpack plugins

Bundler plugin that generates CSS Forge design-token output inside the build.

View on npm Fresh · Dec 6, 2026

@hebilicious/cssforge-unplugin has 1,330 recorded weekly downloads on npm, an increase of 8213% over the past 30 days, ranking #1995 of 3,247 tracked listings.

Weekly downloads
1,330
Official API · Dec 5, 2026
7-day growth
+422%
+1.1K weekly downloads
30-day growth
+8213%
+1.3K weekly downloads
90-day growth
—
Insufficient history
Rank
#1995
▲ 325 in 7 days

About @hebilicious/cssforge-unplugin

@hebilicious/cssforge-unplugin

Generate CSS Forge design-token CSS inside the build, through unplugin: Vite, Rollup, Rolldown, webpack, Rspack, Rsbuild, esbuild, Farm, and Bun.

The plugin loads cssforge.config.ts, serves the generated stylesheet from virtual:cssforge.css, and watches the config and every local token module it imports, so a token edit regenerates the stylesheet.

Install

pnpm add -D @hebilicious/cssforge-unplugin

Runtime dependencies are unplugin and @hebilicious/cssforge. Bundlers are not dependencies or peers: your project already has one, and it stays the only one installed. The package exports both ESM and CommonJS, because webpack and Rspack configs are often CommonJS.

Vite

// vite.config.ts
import cssforge from "@hebilicious/cssforge-unplugin/vite";
import { defineConfig } from "vite";

export default defineConfig({
	plugins: [cssforge()],
});
// src/main.ts
import "virtual:cssforge.css";

Add the ambient declaration once so TypeScript accepts the import:

// src/vite-env.d.ts
/// <reference types="@hebilicious/cssforge-unplugin/client" />

Other bundlers

BundlerImportNotes
Vite@hebilicious/cssforge-unplugin/viteStyles update through HMR when a token changes.
Rollup@hebilicious/cssforge-unplugin/rollupNeeds a CSS plugin, or set write.
Rolldown@hebilicious/cssforge-unplugin/rolldownNeeds a CSS plugin, or set write.
webpack@hebilicious/cssforge-unplugin/webpackNeeds an asset rule for CSS.
Rspack@hebilicious/cssforge-unplugin/rspackNeeds an asset rule for CSS.
Rsbuild@hebilicious/cssforge-unplugin/rsbuildCSS is handled out of the box.
esbuild@hebilicious/cssforge-unplugin/esbuildCSS is handled out of the box.
Farm@hebilicious/cssforge-unplugin/farmCSS is handled out of the box.
Bun@hebilicious/cssforge-unplugin/bunCSS is handled out of the box.
// webpack.config.js
const cssforge = require("@hebilicious/cssforge-unplugin/webpack");

module.exports = {
	plugins: [cssforge()],
};

Options

cssforge({
	// Resolved against the build's working directory. Default: ./cssforge.config.ts
	config: "./cssforge.config.ts",
	// Write the stylesheet to disk as well as serving the virtual module.
	// Default: false
	write: { css: "./.cssforge/output.css" },
});

write: true uses ./.cssforge/output.css, the CLI's default path. Use it when a tool needs a real file, or when a bundler has no CSS handling for virtual modules.

Behavior

  • Lazy generation. The stylesheet is generated the first time virtual:cssforge.css is loaded. With write, it is also generated during buildStart, so the file exists even when nothing imports the module.

  • Watch. The config file and every local module it imports are registered as watch files. A change invalidates the cached stylesheet, so the next build regenerates it. In Vite, the running dev server updates the styles without a page reload.

  • One config per plugin instance. Generation reuses the core generateCSS, so plugin output is byte-identical to the CLI's --mode css output for the same config.

  • No CSS layer. The virtual module serves exactly what generateCSS produces, so the declarations are unlayered. @import "virtual:cssforge.css" layer(cssforge) does not work, because a CSS import resolves to a file. To keep tokens in a cascade layer, set write and import the written file:

    @import "./.cssforge/output.css" layer(cssforge);
    
  • Errors. A missing config or a generation failure fails the build with the same error the CLI reports, including the config path and the offending token path.

Requirements

Node 24 or newer, matching @hebilicious/cssforge. The config is loaded with Node's native TypeScript support, so no extra loader is needed.

Description from the npm listing.

  • unplugin
  • cssforge
  • design-tokens
  • css-variables
  • vite-plugin
  • rollup-plugin
  • webpack-plugin
  • rspack-plugin
  • esbuild-plugin

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

@hebilicious/cssforge-unplugin weekly downloads on npm, last 90 days: 1,330 weekly downloads as of Dec 5, 2026.@hebilicious/cssforge-unpluginWeekly downloads on npm · Last 90 days1,330downloads / week02004006008001K1.2K1.4KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@hebilicious/cssforge-unplugin weekly downloads on npm, last 90 days: 1,330 weekly downloads as of Dec 5, 2026.

7/30/90-day growth

@hebilicious/cssforge-unplugin weekly downloads growth on npm: +422% over 7 days, +8213% over 30 days, 90-day growth unavailable.@hebilicious/cssforge-unpluginWeekly downloads growth on npm1,330downloads / week now7-day growth+1,075 weekly downloads+422%30-day growth+1,314 weekly downloads+8213%90-day growth+1,330 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@hebilicious/cssforge-unplugin weekly downloads growth on npm: +422% over 7 days, +8213% over 30 days, 90-day growth unavailable.

Ranking history

@hebilicious/cssforge-unplugin npm ranking history: currently #1995 (by weekly downloads).@hebilicious/cssforge-unpluginnpm ranking · by weekly downloads · Last 90 days#1995current rank#1400#1600#1800#2000#2200#2400#2600#2800Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 39 observations · Updated Dec 5, 2026pluginstats.com
@hebilicious/cssforge-unplugin npm ranking history: currently #1995 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 100, #15 (overall #1,995)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins349 listings · 18 pages · page 4, #7 (overall #67)
Webpack plugins: every listing in weekly downloads order

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 (170)
Recent weekly downloads observations for @hebilicious/cssforge-unplugin
Date (UTC)Weekly downloadsChange vs. previous
1,330+107
1,223+205
1,018+63
955+472
483+197
2860
286+31
255+2
253-9
262+89
173+80
93-106
199+1
198—

Similar npm Webpack plugins plugins

All 20 @hebilicious/cssforge-unplugin alternatives

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/@hebilicious/cssforge-unplugin. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.