433e061b1836af87f864f323245daae73459228a3ac9509ed8be267f9a3d4c1b80123e0fea7afc916841780c1164f469bcbda46c93eafaf23954412586136b 1.3 KB

123456789101112131415161718192021222324252627282930
  1. # repeating [![Build Status](https://travis-ci.org/sindresorhus/repeating.svg?branch=master)](https://travis-ci.org/sindresorhus/repeating)
  2. > Repeat a string - fast
  3. ## Install
  4. ```
  5. $ npm install --save repeating
  6. ```
  7. ## Usage
  8. ```js
  9. const repeating = require('repeating');
  10. repeating('unicorn ', 100);
  11. //=> 'unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn unicorn '
  12. ```
  13. ## Related
  14. - [repeating-cli](https://github.com/sindresorhus/repeating-cli) - CLI for this module
  15. ## License
  16. MIT © [Sindre Sorhus](https://sindresorhus.com)