Skip to content
PluginStats

transform-to-unocss weekly downloads statistics

By Simon-He95 (2 listings) · npm · Webpack plugins

🚀 Effortlessly transform CSS, inline styles, and preprocessors (Sass/Less/Stylus) to UnoCSS with smart conflict resolution and debug support

View on npm Fresh · Oct 17, 2026

transform-to-unocss has 10 recorded weekly downloads on npm, a decrease of 94.2% over the past 30 days.

It ranks #1918 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by +42.9%.

PluginStats has 543 daily observations since Apr 23, 2025; the latest is from Oct 17, 2026.

Weekly downloads
10
Official API · Oct 17, 2026
7-day growth
-93.9%
-155 weekly downloads
30-day growth
-94.2%
-162 weekly downloads
90-day growth
+42.9%
+3 weekly downloads
Rank
#1918
Among tracked npm listings

About transform-to-unocss

🚀 Transform to UnoCSS

Effortlessly migrate your CSS, inline styles, and preprocessors to UnoCSS

English | 简体中文

✨ Why Transform to UnoCSS?

Transform your legacy CSS into modern, performant UnoCSS with zero configuration! This powerful tool automatically converts:

• 🎨 CSS classes → UnoCSS utilities • 🖌️ Inline styles → Atomic classes • 🎭 Sass/Less/Stylus → Pure UnoCSS • ⚡ Bundle size reduction up to 70% • 🔧 Smart conflict resolution • 🐛 Debug mode for transparency • 🎯 One-click rollback for safety

Perfect for modernizing legacy projects or optimizing performance. Works with Vue, React, Svelte, Astro, and more!

💡 Pro tip: If you're using Tailwind CSS, check out our sister project transformToTailwindcss.

📦 Quick Start

Global Installation

One-time Usage (Recommended)

⚡ CLI Usage

Transform your project

🎯 Quick Example

Before:

After:

✨ 70% smaller bundle size and zero runtime overhead!

🔧 Build Tool Integration

🔥 Vite (Recommended)

📦 Rollup

⚡ Webpack

🎯 Vue CLI

⚡ Esbuild

� Core Features

🎯 Smart Transformation

• ✅ CSS class selectors → UnoCSS utilities • ✅ Inline styles → Atomic class attributes • ✅ Preprocessors (Sass/Less/Stylus) → Pure UnoCSS • ✅ Pseudo-classes (:hover, :focus, etc.) • ✅ Media queries → Responsive classes • ✅ Complex selectors → Smart parsing

🔧 Developer Experience

• 🐛 Debug mode - Detailed transformation logs • � One-click rollback - Safe change reversal • 🎨 VS Code extension - To UnoCSS • 📝 TypeScript support - Full type definitions • 🚀 Zero configuration - Works out of the box

🏗️ Framework Support

• ⚡ Vue 3/2 - Full support • ⚛️ React - JSX/TSX support • 🎭 Svelte - Native support • 🚀 Astro - Component support • 📄 HTML - Pure HTML files

🎨 Advanced Usage

Programmatic API

Configuration Options

📊 Performance Comparison

| Project Type | Before | After | Reduction |

| Medium Vue Project | 245KB | 73KB | 70% ↓ | | React Application | 180KB | 54KB | 68% ↓ | | Enterprise Project | 890KB | 267KB | 72% ↓ |

�️ Debug Mode

Use the --debug flag for detailed transformation information:

Debug output includes:

• 📝 File processing progress • 🎯 CSS rule transformation details • ⚡ Performance statistics • 🔍 Conflict resolution process

🚁 Ecosystem

• transform-to-unocss-core - Browser-side CSS transformation core • To UnoCSS - VS Code extension • transformToTailwindcss - Tailwind CSS transformer

🤝 Contributing

We welcome all forms of contributions! Please check the Contributing Guide for details.

Development Setup

📸 Visual Transformation

Before Transformation

After Transformation

Result: 70% smaller CSS bundle, better performance, and cleaner code! 🚀

🤝 Contributing

We welcome all forms of contributions! Please check the Contributing Guide for details.

Development Setup

We welcome contributions! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

💖 Support the Project

If this project helped you, please consider:

• ⭐ Star this repository • 🐛 Report issues • 🔧 Contribute code • ☕ Buy me a coffee

Your support keeps this project alive and improving! 🙏

📄 License

MIT © 2023-present Simon He

Made with ❤️ by Simon He

Description from the npm listing.

  • transform-to-unocss
  • unocss
  • css-migration
  • css-to-unocss
  • tailwindcss
  • atomic-css
  • css-transform
  • build-tool
  • vite-plugin
  • webpack-plugin
  • rollup-plugin
  • vue
  • react
  • svelte
  • astro
  • sass
  • less
  • stylus
  • performance-optimization
  • cli-tool

Where transform-to-unocss 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.

All npm2,248 listings · 113 pages · page 96, #19 (overall #1919)
All npm: every listing in weekly downloads order
PNG SVG
Webpack plugins247 listings · 13 pages · page 10, #17 (overall #197)
Webpack plugins: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

transform-to-unocss weekly downloads on npm, last 90 days: 10 weekly downloads as of Oct 17, 2026, +42.9% over 90 days.transform-to-unocssWeekly downloads on npm · Last 90 days10downloads / week+42.9% over 90 days05K10K15K20K25KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
transform-to-unocss weekly downloads on npm, last 90 days: 10 weekly downloads as of Oct 17, 2026, +42.9% over 90 days.
PNG SVG

7/30/90-day growth

transform-to-unocss weekly downloads growth on npm: -93.9% over 7 days, -94.2% over 30 days, +42.9% over 90 days.transform-to-unocssWeekly downloads growth on npm10downloads / week now7-day growth-155 weekly downloads-93.9%30-day growth-162 weekly downloads-94.2%90-day growth+3 weekly downloads+42.9%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
transform-to-unocss weekly downloads growth on npm: -93.9% over 7 days, -94.2% over 30 days, +42.9% over 90 days.
PNG SVG

Ranking history

transform-to-unocss npm ranking history: currently #1918 (by weekly downloads).transform-to-unocssnpm ranking · by weekly downloads · Last 90 days#1918current rank#600#800#1000#1200#1400#1600#1800#2000Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 17, 2026 – Oct 18, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
transform-to-unocss npm ranking history: currently #1918 (by weekly downloads).
PNG SVG

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)
Recent weekly downloads observations for transform-to-unocss
Date (UTC)Weekly downloadsChange vs. previous
10-38
480
48-2
500
500
50-121
171+6
165+36
129-1
130+1
129-94
223-6
229-2
231—

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/transform-to-unocss. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.