lurq

npm package

Home

collapse-white-space

collapse-white-space is a utility package that collapses multiple white space characters into a single character. It is ideal for normalizing white space in HTML or JavaScript strings. This package fits into applications that require text processing or formatting.

lurq health score
45/100
Confidence
unproven
Weekly downloads
11,706,253
Latest version
2.1.0
Last release
Oct 27, 2021
License
MIT

Should you depend on collapse-white-space?

lurq's verdict: low

  • No known advisories

Check this from your coding agent

This page is a daily snapshot. lurq's verify tool checks collapse-white-space at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:

npx lurqrun

Free to start. Quickstart

Other styling packages lurq scores

Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 6, 2026; this page refreshes every 24 hours. Source repository.