File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -43,16 +43,13 @@ import { get, set } from 'idb-keyval/dist/esm-compat';
43
43
- ` dist/iife/index-min.js ` Minified plain JS, which creates an ` idbKeyval ` global containing all methods.
44
44
- ` dist/iife-compat/index-min.js ` As above, but transpiled for older browsers.
45
45
46
- These built versions are also available on jsDelivr , e.g.:
46
+ These built versions are also available on unpkg , e.g.:
47
47
48
48
``` html
49
- <script src =" https://cdn.jsdelivr.net/npm /idb-keyval@5/dist/iife/index-min.js" ></script >
49
+ <script src =" https://unpkg.com /idb-keyval@5/dist/iife/index-min.js" ></script >
50
50
<!-- Or in modern browsers: -->
51
51
<script type =" module" >
52
- import {
53
- get ,
54
- set ,
55
- } from ' https://cdn.jsdelivr.net/npm/idb-keyval@5/dist/esm/index.js' ;
52
+ import { get , set } from ' https://unpkg.com/idb-keyval@5?module' ;
56
53
</script >
57
54
```
58
55
You can’t perform that action at this time.
0 commit comments