-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 1.72 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"name": "fifo-ttl-cache",
"version": "1.1.0",
"description": "An efficient in-memory FIFO cache with a fixed TTL for Node.js projects, designed to automatically remove outdated records. Unlike widely used LRU caches, FIFO caches do not prioritize retaining popular keys for extended durations. This simplified approach reduces overhead and typically delivers faster response times. It is especially well-suited for scenarios where freshness (up-to-date values) is critical - such as in security-sensitive applications - or when key access patterns are uniform.",
"repository": {
"type": "git",
"url": "git+https://github.com/ori88c/fifo-ttl-cache.git"
},
"contributors": [
"Ori Cohen (https://github.com/ori88c/)"
],
"homepage": "https://github.com/ori88c/fifo-ttl-cache#readme",
"author": "Ori Cohen",
"license": "Apache-2.0",
"scripts": {
"build": "tsc",
"prepare": "npm run build",
"test": "jest"
},
"keywords": [
"fifo-cache",
"ttl-cache",
"cache",
"expired-entry",
"expired-record",
"FIFO",
"first-in-first-out",
"ttl",
"time-to-live",
"event-driven",
"proactive-remove",
"lru-alternative",
"uniform-key-distribution",
"short-term-key-popularity",
"in-memory",
"js-map",
"nodejs",
"typescript",
"ts",
"ES2020"
],
"engines": {
"node": ">=14.5.0"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"jest": "^29.7.0",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.2",
"typescript": "^5.5.2",
"non-replacement-random-item-sampler": "^1.0.0"
},
"types": "./dist/fifo-ttl-cache.d.ts",
"main": "./dist/fifo-ttl-cache.js",
"files": [
"src/",
"dist/",
"README.md",
"LICENSE"
]
}