Skip to content

Commit

Permalink
feat: OPS-4906 export default once
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriiLevantovych committed Jan 15, 2025
1 parent 0e26921 commit d6b4e32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import runes from 'runes';
import stringLength from 'string-length';

export default function fastChunkString(
function fastChunkString(
str: string,
{
size,
Expand Down Expand Up @@ -49,4 +49,4 @@ function getChunksUnicode(str: string, size: number): string[] {

return chunks;
}
module.exports = fastChunkString;
export default fastChunkString;

0 comments on commit d6b4e32

Please sign in to comment.