Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.24 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.24 KB

next-trim-repeated

Trim repeat for next.

version license size download

installation

npm install -S @jswork/next-trim-repeated

usage

import '@jswork/next-trim-repeated';

nx.trimRepeated('foo--bar---baz', '-');
//=> 'foo-bar-baz'

nx.trimRepeated('foo@#@#baz', '@#');
//=> 'foo@#baz'

resources

license

Code released under the MIT license.