Skip to content
JS
Package

collapse-white-space

Collapse white space

v2.1.0, 27 Oct 2021MITESM onlyTypes: Bundled
$ npm install collapse-white-space

Key numbers

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

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15mSept 2025Mar 2026Sept 2026High 11.4m (18 Aug 2026)Low 2m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

9,384,552 downloads last week, 41,746,409 in the last month. The 12-month change of +161% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
09 in total
Latest version
2.1.0, 27 Oct 20214 years ago
First published
12 Jul 2015
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
100

Major versions

  1. v2 first release 2.0.0, 8 Mar 2021
  2. v1 first release 1.0.0, 12 Jul 2015

Recent releases

VersionPublished
2.1.027 Oct 2021
2.0.08 Mar 2021
1.0.623 Jan 2020
1.0.56 May 2019
1.0.414 Apr 2018
1.0.325 Jun 2017
1.0.223 Jul 2016
1.0.123 Jul 2016
1.0.012 Jul 2015
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
9.8 kB
Dependencies (0)
None
npm install collapse-white-space

CDN

jsDelivr: 238.1k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/collapse-white-space@2.1.0/
  • unpkghttps://unpkg.com/collapse-white-space@2.1.0/
  • esm.shhttps://esm.sh/collapse-white-space@2.1.0
Sources: npm registry, npm downloads API, jsDelivr. Data fetched 25 Sept 2026.

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