Skip to content
PluginStats

@bosh-code/tsdown-plugin-tailwindcss weekly downloads statistics

By bosh-code · npm · Tailwind plugins

Use tailwindcss with your tsdown component libraries

View on npm Fresh · Dec 6, 2026

@bosh-code/tsdown-plugin-tailwindcss has 206 recorded weekly downloads on npm, a decrease of 39.8% over the past 30 days, ranking #2487 of 3,247 tracked listings.

Weekly downloads
206
Official API · Dec 5, 2026
7-day growth
+48.2%
+67 weekly downloads
30-day growth
-39.8%
-136 weekly downloads
90-day growth
-39.1%
-132 weekly downloads
Rank
#2487
▼ 34 in 7 days

About @bosh-code/tsdown-plugin-tailwindcss

@bosh-code/tsdown-plugin-tailwindcss

npm version npm downloads

Use tailwindcss in your tsdown component libraries.

The @tailwindcss/vite plugin unfortunately doesn't work with tsdown, so I created this plugin which is a modified version of that plugin but with tsdown support. This plugin extracts classes from your source files and enables use of libraries like daisyui, just like the vite plugin.

I intend for this plugin to be used with @bosh-code/tsdown-plugin-inject-css, as you need someway of importing the built CSS in the bundle. You can achieve the same result in other ways if you would prefer not to use the plugin, but I find the plugin to be nicer.

Installation

Install the plugin:

# npm
npm install -D @bosh-code/tsdown-plugin-inject-css @bosh-code/tsdown-plugin-tailwindcss

# yarn
yarn add -D @bosh-code/tsdown-plugin-inject-css @bosh-code/tsdown-plugin-tailwindcss

# pnpm
pnpm add -D @bosh-code/tsdown-plugin-inject-css @bosh-code/tsdown-plugin-tailwindcss

Add the plugins to your tsdown.config.ts:

// tsdown.config.ts

import { injectCssPlugin } from '@bosh-code/tsdown-plugin-inject-css';
import { tailwindPlugin } from '@bosh-code/tsdown-plugin-tailwindcss';

export default defineConfig({
  external: ['preact'],
  plugins: [
    tailwindPlugin(),
    injectCssPlugin()
  ]
});

And add the tailwind import to your library entrypoint CSS file, usually src/index.css:

/* src/index.css */
@import "tailwindcss";

/* Add any other global styles here */

The how and why

This plugin is a modified version of the @tailwindcss/vite plugin that I created to work with my preact component library.

Contributions welcome!

License

MIT © bosh-code

<div align="center" style="max-width: 120px;"> <img style="max-width: 120px" width="120px" src="https://raw.githubusercontent.com/bosh-code/tsdown-plugin-tailwindcss/main/.github/images/nz-made.png"> </div>

Description from the npm listing.

  • bundle
  • bundling
  • component-library
  • css
  • tailwindcss
  • tailwindcss-plugin
  • tsdown
  • tsdown-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

@bosh-code/tsdown-plugin-tailwindcss weekly downloads on npm, last 90 days: 206 weekly downloads as of Dec 5, 2026, -39.1% over 90 days.@bosh-code/tsdown-plugin-tailwindcssWeekly downloads on npm · Last 90 days206downloads / week-39.1% over 90 days0100200300400500600Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@bosh-code/tsdown-plugin-tailwindcss weekly downloads on npm, last 90 days: 206 weekly downloads as of Dec 5, 2026, -39.1% over 90 days.

7/30/90-day growth

@bosh-code/tsdown-plugin-tailwindcss weekly downloads growth on npm: +48.2% over 7 days, -39.8% over 30 days, -39.1% over 90 days.@bosh-code/tsdown-plugin-tailwindcssWeekly downloads growth on npm206downloads / week now7-day growth+67 weekly downloads+48.2%30-day growth-136 weekly downloads-39.8%90-day growth-132 weekly downloads-39.1%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@bosh-code/tsdown-plugin-tailwindcss weekly downloads growth on npm: +48.2% over 7 days, -39.8% over 30 days, -39.1% over 90 days.

Ranking history

@bosh-code/tsdown-plugin-tailwindcss npm ranking history: currently #2487 (by weekly downloads).@bosh-code/tsdown-plugin-tailwindcssnpm ranking · by weekly downloads · Last 90 days#2487current rank#500#1000#1500#2000#2500Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
@bosh-code/tsdown-plugin-tailwindcss npm ranking history: currently #2487 (by weekly downloads).

Listing placement

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

Listing placement

Tailwind plugins292 listings · 15 pages · page 5, #16 (overall #96)
Tailwind 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 (592)
Recent weekly downloads observations for @bosh-code/tsdown-plugin-tailwindcss
Date (UTC)Weekly downloadsChange vs. previous
206-33
239+15
224-30
254+13
241+31
210+15
195+56
139+14
125-22
147-20
167-56
223-59
282-41
323—

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/@bosh-code/tsdown-plugin-tailwindcss. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.