wip library to store cold objects in s3, warm objects on disk, and hot objects in memory
nodejs typescript
at main 1.4 kB view raw
1{ 2 "name": "tiered-storage", 3 "version": "1.0.2", 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 test --ext .ts", 17 "lint:fix": "eslint src test --ext .ts --fix", 18 "typecheck": "tsc --noEmit", 19 "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", 20 "format:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"" 21 }, 22 "dependencies": { 23 "@aws-sdk/client-s3": "^3.500.0", 24 "@aws-sdk/lib-storage": "^3.500.0", 25 "hono": "^4.10.7", 26 "mime-types": "^3.0.2", 27 "tiny-lru": "^11.0.0" 28 }, 29 "devDependencies": { 30 "@types/bun": "^1.3.4", 31 "@types/mime-types": "^3.0.1", 32 "@types/node": "^24.10.1", 33 "@typescript-eslint/eslint-plugin": "^8.48.1", 34 "@typescript-eslint/parser": "^8.48.1", 35 "eslint": "^9.39.1", 36 "eslint-config-prettier": "^10.1.8", 37 "eslint-plugin-prettier": "^5.5.4", 38 "prettier": "^3.7.4", 39 "tsx": "^4.0.0", 40 "typescript": "^5.3.0", 41 "typescript-eslint": "^8.50.0", 42 "vitest": "^4.0.15" 43 }, 44 "engines": { 45 "node": ">=18.0.0" 46 } 47}