0.1.0 • Published 4 years ago
h-inator v0.1.0
h-inator
Replaces every character with a string with h. That's all there is to it.
Installation
npm i h-inator
Usage & Example
const h = require('h-inator');
let str = 'I love cupcakes.';
let hStr = h(str);
console.log(hStr); // 'h hhhh hhhhhhhh.'
Options
FIELD | TYPE | DESCRIPTION |
---|---|---|
str | string | the string to replace. |
Made with <3 by Lily :)
0.1.0
4 years ago