We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e26921 commit d6b4e32Copy full SHA for d6b4e32
src/index.ts
@@ -1,7 +1,7 @@
1
import runes from 'runes';
2
import stringLength from 'string-length';
3
4
-export default function fastChunkString(
+function fastChunkString(
5
str: string,
6
{
7
size,
@@ -49,4 +49,4 @@ function getChunksUnicode(str: string, size: number): string[] {
49
50
return chunks;
51
}
52
-module.exports = fastChunkString;
+export default fastChunkString;
0 commit comments