{"id":18587835,"url":"https://github.com/criteria-labs/file-system-react","last_synced_at":"2025-05-16T07:08:01.820Z","repository":{"id":226125270,"uuid":"767827872","full_name":"criteria-labs/file-system-react","owner":"criteria-labs","description":"React hooks for working with the File System API.","archived":false,"fork":false,"pushed_at":"2024-03-06T15:00:33.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T17:58:00.945Z","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/criteria-labs.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,"publiccode":null,"codemeta":null}},"created_at":"2024-03-06T00:53:20.000Z","updated_at":"2024-03-09T03:46:10.000Z","dependencies_parsed_at":"2024-11-07T00:54:32.158Z","dependency_job_id":null,"html_url":"https://github.com/criteria-labs/file-system-react","commit_stats":null,"previous_names":["criteria-labs/file-system-react"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/criteria-labs%2Ffile-system-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/criteria-labs%2Ffile-system-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/criteria-labs%2Ffile-system-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/criteria-labs%2Ffile-system-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/criteria-labs","download_url":"https://codeload.github.com/criteria-labs/file-system-react/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254485062,"owners_count":22078767,"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-07T00:43:52.748Z","updated_at":"2025-05-16T07:08:00.706Z","avatar_url":"https://github.com/criteria-labs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @criteria/file-system-react\n\nReact hooks for working with the [File System API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_API).\n\n## Getting Started\n\nGet all file handles within the [origin private file system (OPFS)](https://developer.mozilla.org/en-US/docs/Web/API/File_System_API/Origin_private_file_system), including the root directory handle:\n\n```tsx\nimport { useFileSystem } from \"@criteria/file-system-react\";\n\nfunction Component() {\n  const handlesByPath = useFileSystem();\n\n  return (\n    \u003cul\u003e\n      {handlesByPath.map((handle, path) =\u003e (\n        \u003cli key={path}\u003e{path}\u003c/li\u003e\n      ))}\n    \u003cul\u003e\n  );\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcriteria-labs%2Ffile-system-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcriteria-labs%2Ffile-system-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcriteria-labs%2Ffile-system-react/lists"}