Skip to content
JS
Package

ts-clsx

Rewrite clsx in TypeScript.

v2.4.1, 14 Apr 2024MITESM + CommonJSTypes: BundledTypeScript toolingCSS-in-JS and styling
$ npm install ts-clsx

Key numbers

As of 25 Sept 2026
Weekly downloads
1.4k
+592% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
2 years ago
v2.4.1
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
01k2k3kSept 2025Mar 2026Sept 2026High 2.3k (8 Sept 2026)Low 8 (3 Mar 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,395 downloads last week, 6,895 in the last month. The 12-month change of +592% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.4.1, 14 Apr 20242 years ago
First published
-
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
0

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
8.8 kB
Dependencies (0)
None
npm install ts-clsx
  • jsDelivrhttps://cdn.jsdelivr.net/npm/ts-clsx@2.4.1/
  • unpkghttps://unpkg.com/ts-clsx@2.4.1/
  • esm.shhttps://esm.sh/ts-clsx@2.4.1
PackageWeekly downloadsGzipLast releaseModuleComparison
csstype125.4m-10 months ago--
@rtsao/csstype38.1k-6 years ago--
ng-packagr977.4k-1 day agoCommonJS-
karma-typescript82.2k-3 years agoCommonJS-
typed-scss-modules103.3k-1 year agoCommonJS-
@epegzz/sass-vars-loader7.1k-5 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 1395 < 10000.