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 15b4cd4 commit 8110befCopy full SHA for 8110bef
.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 {sorted} = require( '@iterable-iterator/sorted' ) ;
+const {sorted} = await import( '@iterable-iterator/sorted' ) ;
6
// or
7
import {sorted} from '@iterable-iterator/sorted' ;
8
```
package.json
@@ -20,6 +20,7 @@
20
"sorted"
21
],
22
"sideEffects": false,
23
+ "type": "module",
24
"source": "src/index.js",
25
"main": "dist/index.cjs",
26
"module": "dist/index.module.js",
0 commit comments