A collection of JavaScript string helper functions 🌟
const title = titleCase('the witcher'); // The Witcher
const title = titleCase('brooklyn nine-nine '); // Brooklyn Nine-nine
const text = reverse('geralt'); // tlareg
const text = reverse('have a good-day '); // ' yad doog a evah'
const text = repeat('*', 5) // *****
const text = repeat('cool', 3) // coolcoolcool
const text = repeat('hey', 0) // ''
stringkit requires node.js v18 to run
git clone https://github.com/harireddy7/stringkit.git
cd stringkit
yarn install
yarn build