UNPKG

ghost-cache

Version:

A lightweight auto-caching wrapper for fetch() and Axios with multi-storage support (localStorage, sessionStorage, IndexedDB, Redis)

61 lines (60 loc) 1.51 kB
{ "name": "ghost-cache", "displayName": "GhostCache API Cache", "version": "1.2.4", "description": "A lightweight auto-caching wrapper for fetch() and Axios with multi-storage support (localStorage, sessionStorage, IndexedDB, Redis)", "main": "dist/index.js", "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/hoangsonww/GhostCache-API-Cache.git" }, "bugs": { "url": "https://github.com/hoangsonww/GhostCache-API-Cache/issues" }, "homepage": "https://github.com/hoangsonww/GhostCache-API-Cache#readme", "scripts": { "build": "tsc", "test": "jest --coverage", "prepublishOnly": "npm run build", "demo": "node __tests__/demo.js", "format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,css,scss,md,html}\"" }, "type": "module", "keywords": [ "cache", "fetch", "axios", "ghost-cache", "localStorage", "sessionStorage", "IndexedDB", "Redis", "api-cache", "performance" ], "author": "Son Nguyen <son.nguyen@example.com>", "license": "MIT", "engines": { "node": ">=14.0.0", "npm": ">=6.0.0" }, "files": [ "dist", "index.d.ts" ], "devDependencies": { "@types/jest": "^29.0.0", "cross-fetch": "^4.1.0", "jest": "^29.0.0", "jest-environment-jsdom": "^29.7.0", "ts-jest": "^29.0.0", "typescript": "^5.0.0" }, "dependencies": { "axios": "^1.3.0", "ghost-cache": "^1.2.3", "prettier": "^3.5.3", "redis": "^4.0.0" } }