reverse-repeat
A reversed approach to the javascript's repeat method.
Install
npm install reverse-repeat --save
yarn add reverse-repeat
Usage
const reverseRepeat = ; 'foobar';//=> 'foobarfoobarfoobar' repeated;//=> 'foobar' count;//=> 3 var chorus = 'Because I\'m happy. ';chorus;//=> 'Because I'm happy. Because I'm happy. Because I'm happy. ' ;//=> { repeated: 'Because I\'m happy. ', count: 3 }
Credits
Developed by Umut Canbolat.
License
This project is licensed under the MIT License - see the LICENSE file for details