1 # repeat-element [![NPM version](https://badge.fury.io/js/repeat-element.svg)](http://badge.fury.io/js/repeat-element)
3 > Create an array by repeating the given value n times.
7 Install with [npm](https://www.npmjs.com/)
10 npm i repeat-element --save
16 var repeat = require('repeat-element');
19 //=> ['a', 'a', 'a', 'a', 'a']
28 //» [ null, null, null, null, null ]
30 repeat({some: 'object'}, 5)
31 //» [ { some: 'object' },
32 // { some: 'object' },
33 // { some: 'object' },
34 // { some: 'object' },
35 // { some: 'object' } ]
43 [repeat-string](https://github.com/jonschlinkert/repeat-string): Repeat the given string n times. Fastest implementation for repeating a string.
47 Install dev dependencies:
55 Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/repeat-element/issues)
61 + [github/jonschlinkert](https://github.com/jonschlinkert)
62 + [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
66 Copyright (c) 2015 Jon Schlinkert
67 Released under the MIT license.
71 _This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on May 06, 2015._