Skip to content
JS
Package

merge-class-names

A function that merges given class names, no matter their format: string with single or multiple class names or an array of class names. Filters out invalid class names as well.

v1.4.2MITESM + CommonJSTypes: None
$ npm install merge-class-names

Key numbers

As of 25 Sept 2026
Weekly downloads
273k
-26% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
-
v1.4.2
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600kSept 2025Mar 2026Sept 2026High 501.7k (3 Mar 2026)Low 192.9k (1 Sept 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

273,002 downloads last week, 1,367,752 in the last month. The 12-month change of -26% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.4.2
First published
-
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
6.7 kB
Dependencies (0)
None
npm install merge-class-names
  • jsDelivrhttps://cdn.jsdelivr.net/npm/merge-class-names@1.4.2/
  • unpkghttps://unpkg.com/merge-class-names@1.4.2/
  • esm.shhttps://esm.sh/merge-class-names@1.4.2
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.