Licence
MIT
Version
0.1.0
Deps
0
Size
3 kB
Vulns
0
Weekly
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 :)