{"name":"repeat-element","description":"Create an array by repeating the given value n times.","version":"1.1.4","homepage":"https://github.com/jonschlinkert/repeat-element","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/repeat-element.git"},"bugs":{"url":"https://github.com/jonschlinkert/repeat-element/issues"},"license":"MIT","main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"benchmarked":"^2.0.0","chalk":"^2.4.1","glob":"^7.1.2","gulp-format-md":"^1.0.0","minimist":"^1.2.0","mocha":"^3.5.3"},"keywords":["array","element","repeat","string"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true}},"gitHead":"874e2b3843fb0ae342cb41f40e387f4908ee048d","_id":"repeat-element@1.1.4","_nodeVersion":"15.11.0","_npmVersion":"7.6.0","dist":{"integrity":"sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==","shasum":"be681520847ab58c7568ac75fbfad28ed42d39e9","tarball":"http://registry-npm.ywwl.com/repeat-element/download/repeat-element-1.1.4.tgz","fileCount":4,"unpackedSize":5391,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbjx9CRA9TVsSAnZWagAAdWUP/0hxLJkCezCSHbORJh1x\nXFhUrg/Yd4ybc/uQHI4POlR1km5WNmpORm7TLWZaVRUBj+r5m9BL+Hhe0x2J\ndEp5uTRcK/SYQ2Pv+AI79plVXp67WMatCPO+yjiqXvUQr5zR+8Q+50veUbKx\n3ozG9eq/b/MnS5JjUUs4ndwicANuhtcRWkP7dIWc+AV2QwJ51ysGMSQykzYi\nX4x9GVY6eECm/R6vw9UpIMZ7AQb21mthIg4akQ59vRPRwaZjz4py/S4kpqmS\nGFl6I8YRhalU5ekfRKBKIJLdfEw3Xb/ikHIXOFNiE+mls+QvsVQCLq5bSQFe\nJ7+t3onNUpu3r0jbwXvwxTzc0oN2O+X34ZRG31w5Hg8FJFpjD2TLh2Kcxhpr\ncQp+Xp/VPKm0DStnMH0qnNevAZRiEo+PHXkt7Z4ZCh3Wo9pheuGMzIEp4fRw\nmUM4JCA8wbmI0RStMzjFFIfSdRbBCgKByQ8695as+oXQhkBrgRgEhuAtJNUx\n4fs1g4u7XoTlKszrSXXkSfFBJDQpkMDgG6Y0lKLV462H8/i+j61uJjvxhzMG\ndsCpPwXj9NXffinkdriUpmtW6wosN1W58gke+WmQ+AxHCIa9lRztLQvQBqTf\nKiF+NKLJeuDaCRrN/RlhRR+RI3wHnSbxmQt9gms7auyJgMoBLIioDBGp0bHY\ndY0C\r\n=zzS9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCB/2Ma9GbbqNol4go4aURm6RP7m4ECpN+vkXyS6mBOngIgT9vmr0r6VT0eULFCQHMkxxhD5R6EOI0OdyCNgMVbCGw="}],"size":2419,"noattachment":false,"key":"/repeat-element/-/repeat-element-1.1.4.tgz"},"_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"directories":{},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/repeat-element_1.1.4_1617837181056_0.32521719147812256"},"_hasShrinkwrap":false,"readme":"# repeat-element [![NPM version](https://img.shields.io/npm/v/repeat-element.svg?style=flat)](https://www.npmjs.com/package/repeat-element) [![NPM monthly downloads](https://img.shields.io/npm/dm/repeat-element.svg?style=flat)](https://npmjs.org/package/repeat-element) [![NPM total downloads](https://img.shields.io/npm/dt/repeat-element.svg?style=flat)](https://npmjs.org/package/repeat-element) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/repeat-element.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/repeat-element)\n\n> Create an array by repeating the given value n times.\n\nPlease consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save repeat-element\n```\n\n## Usage\n\n```js\nconst repeat = require('repeat-element');\n\nrepeat('a', 5);\n//=> ['a', 'a', 'a', 'a', 'a']\n\nrepeat('a', 1);\n//=> ['a']\n\nrepeat('a', 0);\n//=> []\n\nrepeat(null, 5)\n//» [ null, null, null, null, null ]\n\nrepeat({some: 'object'}, 5)\n//» [ { some: 'object' },\n//    { some: 'object' },\n//    { some: 'object' },\n//    { some: 'object' },\n//    { some: 'object' } ]\n\nrepeat(5, 5)\n//» [ 5, 5, 5, 5, 5 ]\n```\n\n## About\n\n<details>\n<summary><strong>Contributing</strong></summary>\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n</details>\n\n<details>\n<summary><strong>Running Tests</strong></summary>\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n</details>\n\n<details>\n<summary><strong>Building docs</strong></summary>\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n</details>\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 17 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 3 | [LinusU](https://github.com/LinusU) |\n| 1 | [architectcodes](https://github.com/architectcodes) |\n\n### Author\n\n**Jon Schlinkert**\n\n* [GitHub Profile](https://github.com/jonschlinkert)\n* [Twitter Profile](https://twitter.com/jonschlinkert)\n* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)\n\n### License\n\nCopyright © 2018, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on August 19, 2018._","publish_time":1617837181181,"_cnpm_publish_time":1617837181181,"dist-tags":{"latest":"1.1.4"}}