1.0.2 • Published 2 years ago
n-string v1.0.2
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