@philiprehberger/cache-kit 0.2.0 → 0.2.2

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 +3 -3
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -1,11 +1,11 @@
1
- # @philiprehberger/cache-kit
1
+ # @philiprehberger/ts-cache-kit
2
2
 
3
3
  In-memory LRU cache with TTL, stale-while-revalidate, and tag invalidation.
4
4
 
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- npm install @philiprehberger/cache-kit
8
+ npm install @philiprehberger/ts-cache-kit
9
9
  ```
10
10
 
11
11
  ## Usage
@@ -13,7 +13,7 @@ npm install @philiprehberger/cache-kit
13
13
  ### Basic
14
14
 
15
15
  ```ts
16
- import { createCache } from '@philiprehberger/cache-kit';
16
+ import { createCache } from '@philiprehberger/ts-cache-kit';
17
17
 
18
18
  const cache = createCache({ maxItems: 1000, defaultTTL: '5m' });
19
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@philiprehberger/cache-kit",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "In-memory LRU cache with TTL, stale-while-revalidate, and tag invalidation",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -43,11 +43,11 @@
43
43
  "license": "MIT",
44
44
  "repository": {
45
45
  "type": "git",
46
- "url": "git+https://github.com/philiprehberger/cache-kit.git"
46
+ "url": "git+https://github.com/philiprehberger/ts-cache-kit.git"
47
47
  },
48
- "homepage": "https://github.com/philiprehberger/cache-kit#readme",
48
+ "homepage": "https://github.com/philiprehberger/ts-cache-kit#readme",
49
49
  "bugs": {
50
- "url": "https://github.com/philiprehberger/cache-kit/issues"
50
+ "url": "https://github.com/philiprehberger/ts-cache-kit/issues"
51
51
  },
52
52
  "author": "Philip Rehberger",
53
53
  "engines": {