{"id":49561096,"url":"https://github.com/keller-mark/hdf5-as-virtual-zarr.js","last_synced_at":"2026-05-03T08:35:40.053Z","repository":{"id":349641314,"uuid":"1178242276","full_name":"keller-mark/hdf5-as-virtual-zarr.js","owner":"keller-mark","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-06T21:49:40.000Z","size":2775,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-06T23:24:10.205Z","etag":null,"topics":["hidivelab"],"latest_commit_sha":null,"homepage":"https://keller-mark.github.io/hdf5-as-virtual-zarr.js/","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/keller-mark.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-03-10T20:46:40.000Z","updated_at":"2026-04-03T16:04:52.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/keller-mark/hdf5-as-virtual-zarr.js","commit_stats":null,"previous_names":["keller-mark/hdf5-as-virtual-zarr.js"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/keller-mark/hdf5-as-virtual-zarr.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keller-mark%2Fhdf5-as-virtual-zarr.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keller-mark%2Fhdf5-as-virtual-zarr.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keller-mark%2Fhdf5-as-virtual-zarr.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keller-mark%2Fhdf5-as-virtual-zarr.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keller-mark","download_url":"https://codeload.github.com/keller-mark/hdf5-as-virtual-zarr.js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keller-mark%2Fhdf5-as-virtual-zarr.js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32563516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["hidivelab"],"created_at":"2026-05-03T08:35:39.377Z","updated_at":"2026-05-03T08:35:40.045Z","avatar_url":"https://github.com/keller-mark.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hdf5-as-virtual-zarr.js\n\n[![NPM](https://img.shields.io/npm/v/hdf5-as-virtual-zarr.svg?color=black)](https://www.npmjs.com/package/hdf5-as-virtual-zarr)\n\nGiven an input HDF5 file URL, generate a Zarr References Specification JSON output.\n\nThis TypeScript implementation can run in a web browser, and generates output that is compatible with the [ReferenceStore](https://github.com/manzt/zarrita.js/blob/d511ea44551a62c2af64ba33672672e9286490da/packages/%40zarrita-storage/src/ref.ts#L42) from [zarrita.js](https://github.com/manzt/zarrita.js).\n\nIt supports large HDF5 files using range requests (fetching only the subset of bytes required). When possible, large arrays should not be accessed; only the minimal metadata should be accessed.\n\nThis is a port of [SingleHdf5ToZarr](https://github.com/fsspec/kerchunk/blob/main/kerchunk/hdf.py#L52) and its `translate` function from the `kerchunk` Python package.\n\n## Usage\n\n```ts\nimport { open, get, root } from \"zarrita\";\nimport { FetchStore } from \"@zarrita/storage\";\nimport { HdfStore } from \"hdf5-as-virtual-zarr\";\n\nconst internalStore = new FetchStore(\"https://example.com/data.h5\");\nconst hdfStore = await HdfStore.fromStore(internalStore);\n\nconst storeRoot = root(hdfStore);\nconst arr = await open(storeRoot.resolve(\"X\"), { kind: \"array\" });\nconst arrData = await get(arr);\n```\n\n## Development\n\n### Setup\n\nInstall PNPM and UV.\n\n```sh\npnpm install\npnpm run generate-fixtures\n```\n\n### Test\n\n```sh\npnpm run test\n```\n\n### Build\n\n```sh\npnpm run build\n```\n\n### Publish\n\n```sh\npnpm publish --filter \"hdf5-as-virtual-zarr\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeller-mark%2Fhdf5-as-virtual-zarr.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeller-mark%2Fhdf5-as-virtual-zarr.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeller-mark%2Fhdf5-as-virtual-zarr.js/lists"}