@f0c1s/repeat-string
v5.0.0
Published
Gives you a repeated string to print based on a given value.
Downloads
13
Readme
repeat-string
Repeating a string based upon the value
and times
passed.
Installation
npm i @f0c1s/repeat-string
Usage
const {repeat: r} = require('@f0c1s/repeat-string')
var str = r("a", 5)
console.log(str)
// output
"aaaaa"
License
MIT © Anubhav Saini 2016-2021