Skip to content

Commit 0ff7c09

Browse files
feat: OPS-4906 update readme.md
1 parent d044ac9 commit 0ff7c09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ $ yarn add @shelf/fast-chunk-string
1313
## Usage
1414

1515
```js
16-
const fastChunkString = require('@shelf/fast-chunk-string');
16+
import fastChunkString from '@shelf/fast-chunk-string';
1717

1818
// the fastest way
1919
fastChunkString('unicorns', {size: 2, unicodeAware: false});

0 commit comments

Comments
 (0)