Usage {%= apidocs("index.js") %} Benchmarks Repeat string is significantly faster than the native method (which is itself faster than repeating): {%= bench() %} Run the benchmarks Install dev dependencies: npm i -d && node benchmark