trim-repeated v2.0.0

npm

Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz

Updated View on npm →
Version
2.0.0
15d ago
License
MIT
15d ago
Weekly Downloads
4.8M
2d ago
Dependencies
1
15d ago
Required Runtime
>=12
15d ago
Deprecated
No
15d ago

Weekly downloads

Release activity

1 release tracked. Last release: 15 days ago.

v2.0.0 current
v2.0.0 Mar 21, 2026

Last changed

Field Change When
weekly_downloads (none) 4769172 2d ago
required_runtime (none) >=12 15d ago
dep_count (none) 1 15d ago
license (none) MIT 15d ago
deprecated (none) false 15d ago
latest_version (none) 2.0.0 15d ago

Use it

REST API
$ curl
https://api.grounded-api.dev/v1/npm/trim-repeated/latest_version
{ "value": "2.0.0" }
CLI
$ npx grounded-cli trim-repeated
trim-repeated@2.0.0 (npm)