UNPKG

use-async-resource

Version:

A custom React hook for simple data fetching with React Suspense

59 lines (58 loc) 1.38 kB
{ "name": "use-async-resource", "version": "2.2.2", "description": "A custom React hook for simple data fetching with React Suspense", "keywords": [ "react", "reactjs", "async", "data", "fetch", "cache", "suspense", "hooks", "custom-hook", "react-hook", "react-hooks", "react-cache", "react-suspense", "data-fetching" ], "author": { "name": "Andrei Duca", "email": "duca.andrei@gmail.com" }, "license": "ISC", "repository": { "type": "git", "url": "https://github.com/andreiduca/use-async-resource.git" }, "bugs": "https://github.com/andreiduca/use-async-resource/issues", "main": "./lib/index.js", "types": "./lib/index.d.ts", "scripts": { "build": "rm -rf ./lib && tsc", "test": "jest --verbose --coverage" }, "dependencies": { "object-hash": "^2.0.3" }, "devDependencies": { "@babel/core": "^7.9.0", "@babel/preset-env": "^7.9.5", "@babel/preset-typescript": "^7.9.0", "@testing-library/dom": "8", "@testing-library/react-hooks": "^7.0.1", "@types/jest": "27", "@types/react": "16 || 17", "@types/react-dom": "16 || 17", "babel-jest": "27", "jest": "27", "react": "16 || 17 || 18", "react-test-renderer": "16 || 17", "typescript": "4" }, "peerDependencies": { "react": "16 || 17 || 18" } }