{"id":13747756,"url":"https://github.com/lararosekelley/lib-react-hooks","last_synced_at":"2025-08-01T06:14:06.846Z","repository":{"id":20522782,"uuid":"23801760","full_name":"lararosekelley/lib-react-hooks","owner":"lararosekelley","description":"General purpose React hooks library ⚛️","archived":false,"fork":false,"pushed_at":"2023-01-26T16:02:30.000Z","size":5685,"stargazers_count":142,"open_issues_count":14,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-07T13:09:40.502Z","etag":null,"topics":["javascript","mdx","npm","react","react-hooks","typescript"],"latest_commit_sha":null,"homepage":"https://react-hooks-library.tlk.codes","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lararosekelley.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-08T17:56:47.000Z","updated_at":"2025-05-15T05:57:02.000Z","dependencies_parsed_at":"2023-02-16T09:05:14.993Z","dependency_job_id":null,"html_url":"https://github.com/lararosekelley/lib-react-hooks","commit_stats":null,"previous_names":["tylucaskelley/kanye-ipsum","tylucaskelley/react-recipe-card","lararosekelley/lib-react-hooks","tylucaskelley/lib-react-hooks"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/lararosekelley/lib-react-hooks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lararosekelley%2Flib-react-hooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lararosekelley%2Flib-react-hooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lararosekelley%2Flib-react-hooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lararosekelley%2Flib-react-hooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lararosekelley","download_url":"https://codeload.github.com/lararosekelley/lib-react-hooks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lararosekelley%2Flib-react-hooks/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268177897,"owners_count":24208397,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["javascript","mdx","npm","react","react-hooks","typescript"],"created_at":"2024-08-03T06:01:41.730Z","updated_at":"2025-08-01T06:14:06.822Z","avatar_url":"https://github.com/lararosekelley.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# React Hooks Library\n\n\u003e General purpose React hooks library\n\n---\n\n[![npm version](https://badge.fury.io/js/lib-react-hooks.svg)](https://badge.fury.io/js/lib-react-hooks)\n[![build status](https://travis-ci.org/tylucaskelley/lib-react-hooks.svg?branch=master)](https://travis-ci.org/tylucaskelley/lib-react-hooks)\n[![coverage status](https://coveralls.io/repos/github/tylucaskelley/lib-react-hooks/badge.svg?branch=master)](https://coveralls.io/github/tylucaskelley/lib-react-hooks?branch=master)\n\n## Installation\n\nInstall with `yarn`:\n\n```bash\n$ yarn add lib-react-hooks\n```\n\nOr, `npm` if you prefer:\n\n```bash\n$ npm install --save lib-react-hooks\n```\n\n## Usage\n\nSimply import any hooks you want to use in your React component. Example using `useAsync`:\n\n```js\nimport React from 'react';\nimport { useAsync } from 'lib-react-hooks';\n\nconst Component = () =\u003e {\n  const request = useAsync(async () =\u003e {\n    const response = await fetch('https://api.example.com/users/123');\n    return response.json();\n  });\n\n  return (\n    \u003cdiv\u003e\n      {request.complete ? (\n        \u003cp\u003e{`Name: ${request.data.name}`}\u003c/p\u003e\n      ) : (\n        \u003cp\u003eLoading...\u003c/p\u003e\n      )}\n    \u003c/div\u003e\n  );\n};\n```\n\n## Available hooks\n\nSee the [documentation site](https://react-hooks-library.tlk.codes) for more.\n\n## License\n\nMIT License. See [LICENSE](./LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flararosekelley%2Flib-react-hooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flararosekelley%2Flib-react-hooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flararosekelley%2Flib-react-hooks/lists"}