n-string
v1.0.2
Published
Repeat a string with the use of cache.
Downloads
12
Readme
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 repeatnumber
{Number} - number of times to repeat a string
License
MIT