Projekt

Obecné

Profil

Stáhnout (1.25 KB) Statistiky
| Větev: | Revize:
1
# repeating [![Build Status](https://travis-ci.org/sindresorhus/repeating.svg?branch=master)](https://travis-ci.org/sindresorhus/repeating)
2

    
3
> Repeat a string - fast
4

    
5

    
6
## Install
7

    
8
```
9
$ npm install --save repeating
10
```
11

    
12

    
13
## Usage
14

    
15
```js
16
const repeating = require('repeating');
17

    
18
repeating('unicorn ', 100);
19
//=> '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 '
20
```
21

    
22

    
23
## Related
24

    
25
- [repeating-cli](https://github.com/sindresorhus/repeating-cli) - CLI for this module
26

    
27

    
28
## License
29

    
30
MIT © [Sindre Sorhus](https://sindresorhus.com)
(4-4/4)