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 2be30fd commit 44ab87aCopy full SHA for 44ab87a
.commitlintrc.js renamed to .commitlintrc.cjs
doc/manual/usage.md
@@ -2,7 +2,7 @@
2
3
Import the library where needed
4
```js
5
-const {build} = require( '@string-data-structure/longest-prefix-suffix-array' ) ;
+const {build} = await import( '@string-data-structure/longest-prefix-suffix-array' ) ;
6
// or
7
import {build} from '@string-data-structure/longest-prefix-suffix-array' ;
8
```
package.json
@@ -23,6 +23,7 @@
23
"table"
24
],
25
"sideEffects": false,
26
+ "type": "module",
27
"source": "src/index.js",
28
"main": "dist/index.cjs",
29
"module": "dist/index.module.js",
0 commit comments