We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15b484f commit be91f2cCopy full SHA for be91f2c
1 file changed
docs/API.md
@@ -433,7 +433,7 @@ console.log(cache.keysByTTL());
433
**Returns:** `Object` - Object with three properties:
434
- `valid` - Array of valid (non-expired) keys
435
- `expired` - Array of expired keys
436
-- `noTTL` - Array of keys without TTL (when `ttl=0`)
+- `noTTL` - Array of keys without TTL (`expiry === 0`)
437
438
---
439
@@ -544,7 +544,7 @@ console.log(cache.sizeByTTL());
544
545
- `valid` - Number of items that haven't expired
546
- `expired` - Number of expired items
547
-- `noTTL` - Number of items without TTL (when `ttl=0`)
+- `noTTL` - Number of items without TTL (`expiry === 0`)
548
549
**Note:** Items without TTL (expiry === 0) count as both valid and noTTL.
550
0 commit comments