vanilla-create-storage 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +10 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -12,13 +12,17 @@ npm install vanilla-create-storage
12
12
 
13
13
  script:
14
14
 
15
- ```javascript
16
- // umd: GlobalName: storage
15
+ ```html
16
+ <!-- umd: GlobalName: storage -->
17
17
  <script src="https://unpkg.com/vanilla-create-storage/dist/index.umd.js"></script>
18
- const { createStorage } = storage;
19
-
20
- // es module
21
- import { createStorage } from 'https://unpkg.com/vanilla-create-storage/dist/index.mjs';
18
+ <script>
19
+ const { createStorage } = storage;
20
+ </script>
21
+
22
+ <!-- es module -->
23
+ <script type="module">
24
+ import { createStorage } from 'https://unpkg.com/vanilla-create-storage/dist/index.mjs';
25
+ </script>
22
26
  ```
23
27
 
24
28
  ## Usage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vanilla-create-storage",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "private": false,
5
5
  "description": "A small async storage abstraction for browser storage drivers.",
6
6
  "keywords": [