@f0c1s/repeat-string

5.0.0 • Public • Published

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

Package Sidebar

Install

npm i @f0c1s/repeat-string

Weekly Downloads

1

Version

5.0.0

License

MIT

Unpacked Size

10.7 kB

Total Files

9

Last publish

Collaborators

  • iamanubhavsaini
  • sainianubhav