n-string
Repeat a string with the use of cache.
Usage
repeat(string, number)
const repeat = require('n-string');
repeat('a', 5); // <= 'aaaaa'
-
string
{String} - a string to repeat -
number
{Number} - number of times to repeat a string
License
MIT