diff options
Diffstat (limited to 'node_modules/repeat-element/README.md')
-rw-r--r-- | node_modules/repeat-element/README.md | 68 |
1 files changed, 48 insertions, 20 deletions
diff --git a/node_modules/repeat-element/README.md b/node_modules/repeat-element/README.md index 008e20ead..6006418b3 100644 --- a/node_modules/repeat-element/README.md +++ b/node_modules/repeat-element/README.md @@ -1,19 +1,21 @@ -# repeat-element [](http://badge.fury.io/js/repeat-element) +# repeat-element [](https://www.npmjs.com/package/repeat-element) [](https://npmjs.org/package/repeat-element) [](https://npmjs.org/package/repeat-element) [](https://travis-ci.org/jonschlinkert/repeat-element) > Create an array by repeating the given value n times. +Please consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support. + ## Install -Install with [npm](https://www.npmjs.com/) +Install with [npm](https://www.npmjs.com/): -```bash -npm i repeat-element --save +```sh +$ npm install --save repeat-element ``` ## Usage ```js -var repeat = require('repeat-element'); +const repeat = require('repeat-element'); repeat('a', 5); //=> ['a', 'a', 'a', 'a', 'a'] @@ -38,34 +40,60 @@ repeat(5, 5) //» [ 5, 5, 5, 5, 5 ] ``` -## Related projects +## About + +<details> +<summary><strong>Contributing</strong></summary> + +Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new). + +</details> + +<details> +<summary><strong>Running Tests</strong></summary> + +Running 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: + +```sh +$ npm install && npm test +``` + +</details> -[repeat-string](https://github.com/jonschlinkert/repeat-string): Repeat the given string n times. Fastest implementation for repeating a string. +<details> +<summary><strong>Building docs</strong></summary> -## Running tests +_(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.)_ -Install dev dependencies: +To generate the readme, run the following command: -```bash -npm i -d && npm test +```sh +$ npm install -g verbose/verb#dev verb-generate-readme && verb ``` -## Contributing +</details> + +### Contributors -Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/repeat-element/issues) +| **Commits** | **Contributor** | +| --- | --- | +| 17 | [jonschlinkert](https://github.com/jonschlinkert) | +| 3 | [LinusU](https://github.com/LinusU) | +| 1 | [architectcodes](https://github.com/architectcodes) | -## Author +### Author **Jon Schlinkert** -+ [github/jonschlinkert](https://github.com/jonschlinkert) -+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) +* [GitHub Profile](https://github.com/jonschlinkert) +* [Twitter Profile](https://twitter.com/jonschlinkert) +* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert) -## License +### License -Copyright (c) 2015 Jon Schlinkert -Released under the MIT license. +Copyright © 2018, [Jon Schlinkert](https://github.com/jonschlinkert). +Released under the [MIT License](LICENSE). *** -_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on May 06, 2015._ +_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on August 19, 2018._
\ No newline at end of file |