trim-repeated
esm
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
Version 2.0.0 License MIT
Keywords
condensecollapsecompactconsecutiverepeatedstringstrtrimremovestripcharacterchar
INSTALL
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz