1.0.0 • Published 8 years ago
repeatrepeat v1.0.0
repeatrepeat
Install
$ npm install --save repeatrepeat
Usage
const repeat = require('repeatrepeat');
repeat(4, 'hello');
//=> 'hellohello'
API
repeatrepeat(length, string)
Repeats string
length
number of times.
length
Type: number
Padding length.
string
Type: string
String to repeat.
License
MIT
1.0.0
8 years ago