@plexis/repeat

0.0.22 • Public • Published

@plexis/repeat

Repeats the input text number of times.

Installation npm i @plexis/repeat

Usage

import repeat from '@plexis/repeat';

repeat('ABCD');
// => true

repeat('Apollo11', 2);
// => 'Apollo11Apollo11'

repeat('x', 2);
// => 'xx'

repeat('x', 2, '+');
// => 'x+x'

repeat('xx', 2, '_');
// => 'xx_xx'

Aliases

import repeat from '@plexis/repeat';
import {repeat, multiply} from 'plexis';

Readme

Keywords

Package Sidebar

Install

npm i @plexis/repeat

Weekly Downloads

0

Version

0.0.22

License

MIT

Unpacked Size

3.8 kB

Total Files

6

Last publish

Collaborators

  • vorillaz