5.0.0 • Published 3 years ago

@f0c1s/repeat-string v5.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
3 years ago

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