{"id":18777743,"url":"https://github.com/arn4v/use-fuse2","last_synced_at":"2025-12-17T03:30:13.205Z","repository":{"id":57388075,"uuid":"395967346","full_name":"arn4v/use-fuse2","owner":"arn4v","description":null,"archived":false,"fork":false,"pushed_at":"2021-08-14T10:15:46.000Z","size":120,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-30T09:47:29.320Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arn4v.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-14T10:05:03.000Z","updated_at":"2023-03-04T08:21:11.000Z","dependencies_parsed_at":"2022-08-29T13:51:13.632Z","dependency_job_id":null,"html_url":"https://github.com/arn4v/use-fuse2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arn4v%2Fuse-fuse2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arn4v%2Fuse-fuse2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arn4v%2Fuse-fuse2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arn4v%2Fuse-fuse2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arn4v","download_url":"https://codeload.github.com/arn4v/use-fuse2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239690076,"owners_count":19681034,"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":"2024-11-07T20:13:41.744Z","updated_at":"2025-12-17T03:30:13.100Z","avatar_url":"https://github.com/arn4v.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# useFuse2\n\nReact hook for fuzzy searching using Fuse.js\n\n## Usage\n\n```tsx\nimport useFuse from \"use-fuse2\";\nimport { useState } from \"react\";\n\ntype BlogPost = {\n  title: string;\n  content: string;\n};\n\nexport default function PostList({ data }: { data: BlogPost[] }) {\n  const [query, setQuery] = useState(\"\");\n  const { result } = useFuse({ data, query });\n  return (\n    \u003c\u003e\n      \u003cinput value={query} onChange={(e) =\u003e setQuery(e.target.value)} /\u003e\n      \u003cul\u003e\n        {result.map(({ title }) =\u003e (\n          \u003cli\u003e{title}\u003c/li\u003e\n        ))}\n      \u003c/ul\u003e\n    \u003c/\u003e\n  );\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farn4v%2Fuse-fuse2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farn4v%2Fuse-fuse2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farn4v%2Fuse-fuse2/lists"}