GitShow/sindresorhus/trim-repeated
sindresorhus

trim-repeated

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

by sindresorhus
Star on GitHubForknpm

JavaScript

21 stars4 forks1 contributorQuiet · 4y agoSince 2015v2.0.0MIT

Meet the team

See all 1 on GitHub →
sindresorhus
sindresorhus8 contributions

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
GeorgeGkas
Option to avoid removing repeated replacementClosedIssue

We should add an option to coid removing repeated replacement. Current use case can be found on issue https://github.com/sindresorhus/filenamify/issues/10. Possible option names: The API of will change by adding a third parameter .

GeorgeGkas · 4y ago
Structured data for AI agents

Repository: sindresorhus/trim-repeated. Description: Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz Stars: 21, Forks: 4. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v2.0.0 (5y ago). Open PRs: 0, open issues: 0. Last activity: 4y ago. Community health: 85%. Top contributors: sindresorhus.

·@ofershap

Replace github.com with gitshow.dev