@node-ts-cache/core 1.0.1 → 1.0.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 (3) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +12 -9
  3. package/package.json +1 -1
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2017 Himmet Avsar
3
+ Copyright (c) 2026 Simon Tretter
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -31,15 +31,18 @@ class UserService {
31
31
 
32
32
  The core package includes `MemoryStorage` and `FsJsonStorage`. Additional storage backends are available as separate packages:
33
33
 
34
- | Package | Storage Type | Sync/Async | Use Case |
35
- | ----------------------------------- | ------------------------------------------------------ | ---------- | -------------------------------------- |
36
- | `@node-ts-cache/core` | MemoryStorage | Sync | Development, simple caching |
37
- | `@node-ts-cache/core` | FsJsonStorage | Async | Persistent local cache |
38
- | `@node-ts-cache/node-cache-storage` | [node-cache](https://www.npmjs.com/package/node-cache) | Sync | Production single-instance with TTL |
39
- | `@node-ts-cache/lru-storage` | [lru-cache](https://www.npmjs.com/package/lru-cache) | Sync | Memory-bounded with automatic eviction |
40
- | `@node-ts-cache/redis-storage` | [redis](https://www.npmjs.com/package/redis) (v4.x) | Async | Shared cache |
41
- | `@node-ts-cache/ioredis-storage` | [ioredis](https://www.npmjs.com/package/ioredis) | Async | Shared cache with compression |
42
- | `@node-ts-cache/lru-redis-storage` | LRU + Redis | Async | Two-tier: fast local + shared remote |
34
+ | Package | Storage Type | Sync/Async | Use Case |
35
+ | -------------------------------------- | --------------------------------------------------------------------- | ---------- | -------------------------------------- |
36
+ | `@node-ts-cache/core` | MemoryStorage | Sync | Development, simple caching |
37
+ | `@node-ts-cache/core` | FsJsonStorage | Async | Persistent local cache |
38
+ | `@node-ts-cache/node-cache-storage` | [node-cache](https://www.npmjs.com/package/node-cache) | Sync | Production single-instance with TTL |
39
+ | `@node-ts-cache/lru-storage` | [lru-cache](https://www.npmjs.com/package/lru-cache) | Sync | Memory-bounded with automatic eviction |
40
+ | `@node-ts-cache/redis-storage` | [redis](https://www.npmjs.com/package/redis) (v4.x) | Async | Shared cache |
41
+ | `@node-ts-cache/ioredis-storage` | [ioredis](https://www.npmjs.com/package/ioredis) | Async | Shared cache with compression |
42
+ | `@node-ts-cache/lru-redis-storage` | LRU + Redis | Async | Two-tier: fast local + shared remote |
43
+ | `@node-ts-cache/elasticsearch-storage` | [elasticsearch](https://www.npmjs.com/package/@elastic/elasticsearch) | Async | Search-integrated caching |
44
+ | `@node-ts-cache/memcached-storage` | [memcached](https://www.npmjs.com/package/memcached) | Async | High-performance distributed cache |
45
+ | `@node-ts-cache/valkey-storage` | [iovalkey](https://www.npmjs.com/package/iovalkey) | Async | Redis-compatible, open source |
43
46
 
44
47
  ## Decorators
45
48
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@node-ts-cache/core",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Simple and extensible caching module supporting decorators",
5
5
  "keywords": [
6
6
  "node",