cachel 1.0.0 → 1.0.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 +16 -0
  2. package/package.json +17 -4
package/README.md CHANGED
@@ -4,6 +4,22 @@ Offline-first asset caching for the browser, powered by IndexedDB.
4
4
 
5
5
  Fetch remote assets once, serve them forever from local cache. Works with any framework or none at all.
6
6
 
7
+ ![npm](https://img.shields.io/npm/v/cachel)
8
+ ![bundle size](https://img.shields.io/badge/gzip-~1kB-brightgreen)
9
+ ![license](https://img.shields.io/npm/l/cachel)
10
+
11
+ ---
12
+
13
+ ## Features
14
+
15
+ - Fetch and cache remote assets in IndexedDB with one call
16
+ - Serve cached assets as object URLs, works fully offline
17
+ - Skips network requests for already cached assets
18
+ - Supports images, videos, audio and fonts
19
+ - No service worker required
20
+ - Zero dependencies
21
+ - ~1 kB gzipped
22
+
7
23
  ---
8
24
 
9
25
  ## Install
package/package.json CHANGED
@@ -1,12 +1,25 @@
1
1
  {
2
2
  "name": "cachel",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "main": "cachel.js",
5
- "files": [ "cachel.js", "lib/", "utils/", "README.md", "LICENSE" ],
5
+ "files": [
6
+ "cachel.js",
7
+ "lib/",
8
+ "utils/",
9
+ "README.md",
10
+ "LICENSE"
11
+ ],
6
12
  "scripts": {
7
13
  "dev": "live-server"
8
14
  },
9
- "keywords": ["cache", "indexeddb", "offline", "pwa", "blob", "assets"],
15
+ "keywords": [
16
+ "cache",
17
+ "indexeddb",
18
+ "offline",
19
+ "pwa",
20
+ "blob",
21
+ "assets"
22
+ ],
10
23
  "author": {
11
24
  "name": "Geet Trivedi",
12
25
  "url": "https://www.geettrivedi.com"
@@ -17,4 +30,4 @@
17
30
  "devDependencies": {
18
31
  "live-server": "^1.2.2"
19
32
  }
20
- }
33
+ }