Package
ts-clsx
Rewrite clsx in TypeScript.
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/ts-clsx@2.4.1/ - unpkg
https://unpkg.com/ts-clsx@2.4.1/ - esm.sh
https://esm.sh/ts-clsx@2.4.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| csstype | 125.4m | - | 10 months ago | - | - |
| @rtsao/csstype | 38.1k | - | 6 years ago | - | - |
| ng-packagr | 977.4k | - | 1 day ago | CommonJS | - |
| karma-typescript | 82.2k | - | 3 years ago | CommonJS | - |
| typed-scss-modules | 103.3k | - | 1 year ago | CommonJS | - |
| @epegzz/sass-vars-loader | 7.1k | - | 5 years ago | CommonJS | - |
Indexability: Not indexed (discovery only): downloads_week 1395 < 10000.