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 · Oct 18, 2026

@bosh-code/tsdown-plugin-tailwindcss has 94 recorded weekly downloads on npm, a decrease of 47.2% over the past 30 days, ranking #1748 of 2,322 tracked listings.

Weekly downloads
94
Official API · Oct 18, 2026
7-day growth
0.0%
0 weekly downloads
30-day growth
-47.2%
-84 weekly downloads
90-day growth
-73.6%
-262 weekly downloads
Rank
#1748
Among tracked npm listings

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: 94 weekly downloads as of Oct 18, 2026, -73.6% over 90 days.@bosh-code/tsdown-plugin-tailwindcssWeekly downloads on npm · Last 90 days94downloads / week-73.6% over 90 days02004006008001KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
@bosh-code/tsdown-plugin-tailwindcss weekly downloads on npm, last 90 days: 94 weekly downloads as of Oct 18, 2026, -73.6% over 90 days.

7/30/90-day growth

@bosh-code/tsdown-plugin-tailwindcss weekly downloads growth on npm: 0.0% over 7 days, -47.2% over 30 days, -73.6% over 90 days.@bosh-code/tsdown-plugin-tailwindcssWeekly downloads growth on npm94downloads / week now7-day growth+0 weekly downloads0.0%30-day growth-84 weekly downloads-47.2%90-day growth-262 weekly downloads-73.6%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@bosh-code/tsdown-plugin-tailwindcss weekly downloads growth on npm: 0.0% over 7 days, -47.2% over 30 days, -73.6% over 90 days.

Ranking history

@bosh-code/tsdown-plugin-tailwindcss npm ranking history: currently #1748 (by weekly downloads).@bosh-code/tsdown-plugin-tailwindcssnpm ranking · by weekly downloads · Last 90 days#1748current rank#600#800#1000#1200#1400#1600#1800Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 17, 2026 – Oct 20, 2026 · 4 observations · Updated Oct 18, 2026pluginstats.com
@bosh-code/tsdown-plugin-tailwindcss npm ranking history: currently #1748 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,162 shown · page 88, #12 (overall #1,752)
All npm: every listing in weekly downloads order

Listing placement

Tailwind plugins252 listings · 13 pages · page 4, #4 (overall #64)
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 (544)
Recent weekly downloads observations for @bosh-code/tsdown-plugin-tailwindcss
Date (UTC)Weekly downloadsChange vs. previous
94+25
69-2
71+14
57-12
69-25
940
940
94+32
62-5
67-20
87-30
117-40
157-77
234—

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 Oct 20, 2026. See the methodology.