wip library to store cold objects in s3, warm objects on disk, and hot objects in memory
nodejs
typescript
1{
2 "name": "tiered-storage",
3 "version": "1.0.0",
4 "description": "Tiered storage library with S3, disk, and memory caching",
5 "main": "dist/index.js",
6 "types": "dist/index.d.ts",
7 "type": "module",
8 "scripts": {
9 "check": "tsc --noEmit",
10 "build": "tsc",
11 "dev": "tsx --watch src/index.ts",
12 "example": "tsx example.ts",
13 "serve": "tsx serve-example.ts",
14 "test": "vitest",
15 "test:watch": "vitest --watch",
16 "lint": "eslint src --ext .ts",
17 "lint:fix": "eslint src --ext .ts --fix",
18 "typecheck": "tsc --noEmit"
19 },
20 "dependencies": {
21 "@aws-sdk/client-s3": "^3.500.0",
22 "hono": "^4.10.7",
23 "mime-types": "^3.0.2",
24 "tiny-lru": "^11.0.0"
25 },
26 "devDependencies": {
27 "@types/bun": "^1.3.4",
28 "@types/mime-types": "^3.0.1",
29 "@types/node": "^24.10.1",
30 "@typescript-eslint/eslint-plugin": "^8.48.1",
31 "@typescript-eslint/parser": "^8.48.1",
32 "eslint": "^9.39.1",
33 "tsx": "^4.0.0",
34 "typescript": "^5.3.0",
35 "vitest": "^4.0.15"
36 },
37 "engines": {
38 "node": ">=18.0.0"
39 }
40}