string-repeat

1.1.1 • Public • Published

Imgur

Install

$ npm install --save repeat

Usage

var repeat = require('string-repeat');

var example = repeat('repeat ', 5);
//=> repeat repeat repeat repeat repeat

console.log(example);
//=> repeat repeat repeat repeat repeat

API

repeat(input, times)

input

Type: string

String to be repeated

times

Type: number

Number of times for string to be repeated

Patch notes: 1.1.1

Bug fixes and other improvements have been made, a logo has also been added

License

MIT ©Maximilian Lloyd

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.1939latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.1939
1.1.01
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i string-repeat

Weekly Downloads

754

Version

1.1.1

License

MIT

Last publish

Collaborators

  • branch