@f0c1s/non-consecutive-repeat-in-string
v2.0.0
Published
Remove consecutively repeated characters from string
Downloads
4
Readme
node-non-consecutive-repeat-in-string
Remove consecutively repeated characters from string
Installation
npm i @f0c1s/non-consecutive-repeat-in-string
Usage
const {nonConsecutiveRepeat} = require('@f0c1s/non-consecutive-repeat-in-string')
nonConsecutiveRepeat('whatt') // 'what'
nonConsecutiveRepeat('aaaaaaaaaaaaaa') // 'a'
License
MIT