$ npm install lodash.repeat
The lodash method _.repeat exported as a Node.js module.
_.repeat
Using npm:
$ {sudo -H} npm i -g npm $ npm i --save lodash.repeat
In Node.js:
var repeat = require('lodash.repeat');
See the documentation or package source for more details.