Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relationship with Zarr.js #211

Closed
morandd opened this issue Sep 18, 2024 · 1 comment
Closed

Relationship with Zarr.js #211

morandd opened this issue Sep 18, 2024 · 1 comment

Comments

@morandd
Copy link

morandd commented Sep 18, 2024

There's an existing Typescript package for reading Zarr files here https://github.com/gzuidhof/zarr.js/

Presumably this new package has some features or use cases the that package does not cover. Could you comment on the relationship between these two packages? That would help new users (like myself) decide between the two.

@manzt
Copy link
Owner

manzt commented Sep 18, 2024

Hi there. I'm aware of the other project and one of the primary contributors.

zarr.js is a port of the Python implementation, which led to some inherent design limitations which made it challenging to maintain and introduce new features. In contrast, zarrita.js was a complete rewrite designed for JavaScript with a more functional API, offering better tree-shaking. This allows developers to only include the features they need, potentially reducing bundle sizes.

zarrita.js also has a more streamlined (and subjectively ergonomic) API, focusing on common use cases rather than mirroring the extensive Python API.

The primary funcational difference is that zarrita.js supports both Zarr v2 and v3 (zarr.js only supports v2). Beyond that, zarrita.js offers a collection of storage backends and improved TypeScript typings.

@manzt manzt pinned this issue Sep 19, 2024
@manzt manzt closed this as completed Sep 19, 2024
@manzt manzt changed the title In README, Comment on relationship with https://github.com/gzuidhof/zarr.js/ Relationship with Zarr.js Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants