{"id":18838090,"url":"https://github.com/codiume/hooks","last_synced_at":"2025-04-14T06:23:35.322Z","repository":{"id":251995062,"uuid":"839063954","full_name":"codiume/hooks","owner":"codiume","description":"A collection of reusable react hooks for state and UI management","archived":false,"fork":false,"pushed_at":"2025-04-12T00:23:26.000Z","size":505,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T01:26:45.624Z","etag":null,"topics":["hooks","library","react","react-hooks","state"],"latest_commit_sha":null,"homepage":"","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/codiume.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-06T22:34:28.000Z","updated_at":"2025-04-12T00:23:27.000Z","dependencies_parsed_at":"2024-10-23T23:41:19.193Z","dependency_job_id":null,"html_url":"https://github.com/codiume/hooks","commit_stats":null,"previous_names":["codiume/hooks"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codiume%2Fhooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codiume%2Fhooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codiume%2Fhooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codiume%2Fhooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codiume","download_url":"https://codeload.github.com/codiume/hooks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248831301,"owners_count":21168441,"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":["hooks","library","react","react-hooks","state"],"created_at":"2024-11-08T02:37:56.124Z","updated_at":"2025-04-14T06:23:35.312Z","avatar_url":"https://github.com/codiume.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🪝 Hooks\n\n[![Version][version-badge]][npm]\n[![Downloads][downloads-badge]][npm]\n[![Github Actions][github-actions-badge]][github-actions]\n[![Make a PR][makepr-badge]][makepr]\n[![Typescript][typescript-badge]][npm]\n[![Formatted with Biome][biome-badge]][biome]\n\nA collection of reusable react hooks for state and UI management\n\n## Installation\n\n```bash\n# Using PNPM\npnpm install @codiume/hooks\n```\n\n```bash\n# Using Bun\nbun add @codiume/hooks\n```\n\n```bash\n# Using NPM\nnpm install @codiume/hooks\n```\n\n```bash\n# Using Yarn\nyarn add @codiume/hooks\n```\n\n## Hooks\n\n| Hook                                         | Description                                     |\n| -------------------------------------------- | ----------------------------------------------- |\n| [use-clipboard](./src/use-clipboard)         | Copy text to the clipboard with ease            |\n| [use-hover](./src/use-hover)                 | Tracks the hover state of a DOM element         |\n| [use-in-viewport](./src/use-in-viewport)     | Detects if element is visible in the viewport   |\n| [use-local-storage](./src/use-local-storage) | Manages state with localStorage synchronization |\n| [use-media-query](./src/use-media-query)     | Track if a media query matches the viewport     |\n| [use-queue](./src/use-queue)                 | Manage state of elements in FIFO-like strategy  |\n| [use-scroll](./src/use-scroll)               | Tracks scroll position of an element            |\n| [use-singleton](./src/use-singleton)         | Creates a value exactly once                    |\n| [use-window-scroll](./src/use-window-scroll) | Tracks scroll position of the window            |\n\n## Contributing\n\nPlease see [Contributing.md](CONTRIBUTING.md) for details.\n\n## Security\n\nIf you discover any security related issues, please email author instead of using the issue tracker.\n\n## Changelog\n\nPlease see the [Changelog](CHANGELOG.md) for more information on what has changed recently.\n\n## License\n\nPlease see the [LICENSE](LICENSE) for more information.\n\n[npm]: https://www.npmjs.com/package/@codiume/hooks\n[version-badge]: https://img.shields.io/npm/v/%40codiume%2Fhooks.svg\n[downloads-badge]: https://img.shields.io/npm/dt/%40codiume%2Fhooks\n[github-actions]: https://github.com/codiume/hooks/actions/workflows/build.yml\n[github-actions-badge]: https://github.com/codiume/hooks/actions/workflows/build.yml/badge.svg?branch=main\n[typescript-badge]: https://img.shields.io/npm/types/%40codiume%2Fhooks\n[makepr]: https://makeapullrequest.com\n[makepr-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square?style=flat\n[biome]: https://biomejs.dev\n[biome-badge]: https://img.shields.io/badge/Formatted_with-Biome-60a5fa?style=flat\u0026logo=biome\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodiume%2Fhooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodiume%2Fhooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodiume%2Fhooks/lists"}