UNPKG

cache-memo-fetch

Version:

useFetch react hook

41 lines (40 loc) 900 B
{ "name": "cache-memo-fetch", "version": "0.1.1", "description": "useFetch react hook", "keywords": [ "react", "hook", "query", "data-fetching" ], "type": "module", "main": "./dist/use-fetch.mjs", "module": "./dist/use-fetch.mjs", "types": "./dist/use-fetch.d.ts", "exports": { ".": { "types": "./dist/use-fetch.d.ts", "import": "./dist/use-fetch.mjs" } }, "files": [ "dist" ], "sideEffects": false, "scripts": { "build": "rimraf ./dist/ && node build.mjs && tsc && mv src/use-fetch.d.ts dist", "typecheck": "tsc" }, "peerDependencies": { "react": "^19.1.0" }, "devDependencies": { "@types/node": "^22.15.30", "@types/react": "^19.1.6", "esbuild": "^0.25.5", "react": "^19.1.0", "rimraf": "^6.0.1", "typescript": "^5.8.3" } }