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

/string-repeat/

    Package Sidebar

    Install

    npm i string-repeat

    Weekly Downloads

    674

    Version

    1.1.1

    License

    MIT

    Last publish

    Collaborators

    • branch