Skip to content
PluginStats

css-generator-plugin weekly downloads statistics

By macheteHot · npm · Webpack plugins

css file generator only write class name

View on npm Fresh · Dec 6, 2026

css-generator-plugin has 211 recorded weekly downloads on npm, an increase of 817% over the past 30 days, ranking #2478 of 3,247 tracked listings.

Weekly downloads
211
Official API · Dec 5, 2026
7-day growth
+1307%
+196 weekly downloads
30-day growth
+817%
+188 weekly downloads
90-day growth
+744%
+186 weekly downloads
Rank
#2478
▲ 409 in 7 days

About css-generator-plugin

css-generator-plugin 自动生成css文件,高效开发页面

在线尝试

更新记录

如何使用
  • 安装依赖

    webpack 小程序用户

    npm i css-generator-plugin -D
      or
    yarn add css-generator-plugin -D
    
    webpack配置
    const CssGeneratorPlugin = require('css-generator-plugin')
    {
      // ... other config settings 
      plugins: [
        new CssGeneratorPlugin()
      ]
    };
    

    在项目入口文件中引入 生成的css

    import '@/style/auto.css'
    

    vite 用户

    npm i vite-plugin-css-generator -D
      or
    yarn add vite-plugin-css-generator -D
    
    vite 配置
    import CssGenerator from 'vite-plugin-css-generator'
    export default defineConfig({
      // ... other config settings 
      plugins:[
        CssGenerator()
      ]
    })
    

    在项目入口文件中引入 生成的css

    import '@/style/auto.css'
    

    生成器 用户

    npm i css-generator-script
      or
    yarn add css-generator-script
    

    项目入口中引用

    // Gcss(<配置项>) 写入配置项
    import Gcss from 'css-generator-script'
    new Gcss({}).start()
    

    CDN 引入
    <html>
    <head>
      <script src="https://cdn.jsdelivr.net/npm/css-generator-script/gcss.js"></script>
    </head>
    <body>
    </body>
    <script>
      // {} is config
      new window.Gcss({}).start()
    </script>
    </html>
    

生成代码提示文件

将会在根目录生成 auto-use-snippets.css 作为代码提示文件

npx gen-snippets
 or
yarn gen-snippets
配置项

webpack 或 vite 用户请 下载本项目中配置文件 .css.generator.js 到项目根目录

cdn 或生成器用户 请在 函数中传入配置


### 命令行启动(如小程序类和老项目,无webpack)
+ 运行指令
```text
npx css-generator
  or
yarn css-generator

规则说明与进阶使用

Description from the npm listing.

  • css
  • vue
  • react
  • weixin
  • mini-program
  • webpack-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

css-generator-plugin weekly downloads on npm, last 90 days: 211 weekly downloads as of Dec 5, 2026, +744% over 90 days.css-generator-pluginWeekly downloads on npm · Last 90 days211downloads / week+744% over 90 days050100150200250Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
css-generator-plugin weekly downloads on npm, last 90 days: 211 weekly downloads as of Dec 5, 2026, +744% over 90 days.

7/30/90-day growth

css-generator-plugin weekly downloads growth on npm: +1307% over 7 days, +817% over 30 days, +744% over 90 days.css-generator-pluginWeekly downloads growth on npm211downloads / week now7-day growth+196 weekly downloads+1307%30-day growth+188 weekly downloads+817%90-day growth+186 weekly downloads+744%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
css-generator-plugin weekly downloads growth on npm: +1307% over 7 days, +817% over 30 days, +744% over 90 days.

Ranking history

css-generator-plugin npm ranking history: currently #2478 (by weekly downloads).css-generator-pluginnpm ranking · by weekly downloads · Last 90 days#2478current rank#1600#1800#2000#2200#2400#2600#2800#3000Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 37 observations · Updated Dec 5, 2026pluginstats.com
css-generator-plugin npm ranking history: currently #2478 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 124, #18 (overall #2,478)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins349 listings · 18 pages · page 7, #16 (overall #136)
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 css-generator-plugin
Date (UTC)Weekly downloadsChange vs. previous
211-1
212-3
215+2
213+198
15+4
110
11-4
15+2
13-96
109+2
1070
107-1
108-1
109—

Similar npm Webpack plugins plugins

All 20 css-generator-plugin 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/css-generator-plugin. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.