fastrep

Very fast, namely O(logn), string repetition

Usage no npm install needed!

<script type="module">
  import fastrep from 'https://cdn.skypack.dev/fastrep';
</script>

README

FASTREP -- Blazing fast O(logn) string repetition

Installation

npm install fastrep

Usage

var fastrep = require('fastrep')
console.log(fastrep.fastrep('hi there!', 5); // hi there!hi there!hi there!hi there!hi there!

comments and collaboration requests are most welcome!