1.0.2 • Published 5 months ago

n-string v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

n-string

Repeat a string with the use of cache.

Usage

repeat(string, number)

const repeat = require('n-string');

repeat('a', 5); // <= 'aaaaa'
  • string {String} - a string to repeat
  • number {Number} - number of times to repeat a string

License

MIT

1.0.2

5 months ago

1.0.1

8 months ago

1.0.0

9 months ago