repeat-array

1.0.0 • Public • Published

repeat-array

repeats the contents of an Array n times.

how to install

npm i --save repeat-array

how to use

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

var arr = [1, 2, 3];

console.log(repeat(arr, 3));
// [1, 2, 3, 1, 2, 3, 1, 2, 3]

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i repeat-array

    Weekly Downloads

    123

    Version

    1.0.0

    License

    ISC

    Last publish

    Collaborators

    • ahdinosaur