# string-repeat

> Repeat a string

Latest version **1.1.1** (published 2015-08-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install string-repeat
pnpm add string-repeat
yarn add string-repeat
bun add string-repeat
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2015-08-01 |
| First published | 2015-07-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Maximilian Lloyd |
| Maintainers | branch |
| Keywords | repeat, repeating, str, string, fill |

## Links

- npm: https://www.npmjs.com/package/string-repeat
- npm.io page: https://npm.io/package/string-repeat

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@atlaskit/theme](https://npm.io/package/@atlaskit/theme.md) — 402.0K weekly downloads
- [@tangle-network/brand](https://npm.io/package/@tangle-network/brand.md) — 10.0K weekly downloads
- [seneca](https://npm.io/package/seneca.md) — 7.4K weekly downloads
- [@bsb/base](https://npm.io/package/@bsb/base.md) — 7.2K weekly downloads

## Recent versions

- 1.1.1 (latest) — 2015-08-01
- 1.1.0 — 2015-08-01
- 1.0.3 — 2015-07-16
- 1.0.2 — 2015-07-15
- 1.0.1 — 2015-07-14
- 1.0.0 — 2015-07-14

## README

![Imgur](http://i.imgur.com/eml1orV.png?1)

## Install
```
$ npm install --save repeat
```


## Usage
```js
var repeat = require('string-repeat');

var example = repeat('repeat ', 5);
//=> repeat repeat repeat repeat repeat

console.log(example);
//=> repeat repeat repeat repeat repeat
```

## API
### repeat(input, times)
##### input
Type: ``` string ```

String to be repeated

##### times
Type: ``` number ```

Number of times for string to be repeated


## Patch notes: 1.1.1

Bug fixes and other improvements have been made, a logo has also been added

## License
MIT ©[Maximilian Lloyd](http://www.maxlloyd.no)

---
_Source: https://npm.io/package/string-repeat · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
