{"id":23892493,"url":"https://github.com/ihcccjs/hooks","last_synced_at":"2025-10-24T04:24:42.174Z","repository":{"id":210676141,"uuid":"727158922","full_name":"IhcccJS/hooks","owner":"IhcccJS","description":"A base react-hooks library.","archived":false,"fork":false,"pushed_at":"2024-03-25T16:16:48.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-04T13:55:29.397Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IhcccJS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-12-04T09:58:35.000Z","updated_at":"2023-12-04T09:58:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"57c038ae-a3a1-4c65-a284-f79d3490d914","html_url":"https://github.com/IhcccJS/hooks","commit_stats":null,"previous_names":["ihcccjs/hooks"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IhcccJS%2Fhooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IhcccJS%2Fhooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IhcccJS%2Fhooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IhcccJS%2Fhooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IhcccJS","download_url":"https://codeload.github.com/IhcccJS/hooks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240275899,"owners_count":19775614,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-04T13:55:32.104Z","updated_at":"2025-10-24T04:24:42.097Z","avatar_url":"https://github.com/IhcccJS.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# @ihccc/hooks\n\nA base react-hooks library.\n\n[![NPM version](https://img.shields.io/npm/v/@ihccc/hooks.svg?style=flat)](https://npmjs.org/package/@ihccc/hooks)\n[![NPM downloads](http://img.shields.io/npm/dm/@ihccc/hooks.svg?style=flat)](https://npmjs.org/package/@ihccc/hooks)\n[![dumi](https://img.shields.io/badge/docs%20by-dumi-blue)](https://github.com/umijs/dumi)\n## Documentation\n\n[Documentation](https://ihccc/hooks)\n\n\n## Installation\n\nInstall `@ihccc/hooks` with npm\n\n```bash\n  pnpm i @ihccc/hooks\n```\n\n## Usage/Examples\n\n```javascript\nimport { useApi } from '@ihccc/hooks'\n\nfunction UserList() {\n  const users = useApi(getAllUser, {\n    auto: true\n  });\n\n  // ...\n}\n```\n\n## Run Locally\n\nClone the project\n\n```bash\n  git clone https://@ihccc/hooks\n```\n\nGo to the project directory\n\n```bash\n  cd hooks\n```\n\nInstall dependencies\n\n```bash\n  pnpm install\n```\n\nStart the server\n\n```bash\n  pnpm run dev\n```\n\n## Running Tests\n\nTo run tests, run the following command\n\n```bash\n  pnpm run test\n```\n\n\n## Deployment\n\nTo deploy this project run\n\n```bash\n  pnpm run deploy\n```\n\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fihcccjs%2Fhooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fihcccjs%2Fhooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fihcccjs%2Fhooks/lists"}