1.0.0 • Published 7 years ago
twin-str v1.0.0
twinStr
Module to count the number of duplicate of characters within a string.
Installation
$ npm install twinStr --saveExample
const twinStr = require("./index");
const countDuplicates = twinStr('abcccAA11ee');
console.log(countDuplicates); // 4 duplicates were found...1.0.0
7 years ago