Skip to content

Releases: manzt/zarrita.js

@zarrita/[email protected]

22 Aug 15:47
a84eba3
Compare
Choose a tag to compare

Patch Changes

  • feat: Add openConsolidated helper (6e7df4f)

    A utility for working with v2 consolidated metadata.

    import * as zarr from "zarrita";
    
    let store = new zarr.FetchStore("http://localhost:8080/data.zarr");
    let hierarchy = await zarr.openConsolidated(store);
    hierarchy.contents;
    // Map {
    //  "/" => Group,
    //  "/foo" => Array,
    //  "/bar" => Group,
    //  "/bar/baz" => Array,
    // }
    let grp = hierarchy.root(); // Group
    let foo = hierarchy.open("/foo", { kind: "array" }); // Array
    let baz = hierarchy.open(grp.resolve("bar/baz"), { kind: "array" }); // Array
    let bar = hierarchy.open(baz.resolve(".."), { kind: "group" }); // Group
  • feat: Support reading ZEP0002 sharded indexing (#94)

  • Updated dependencies [b90fd33]:

[email protected]

18 Aug 18:22
65fab74
Compare
Choose a tag to compare

Minor Changes

  • feat!: Re-export @zarrita/* under zarrita. (#89)

    This is a BREAKING change. The zarrita package is now a wrapper around the @zarrita/* modules.

    import * as zarr from "zarrita";
    
    const store = new zarr.FetchStore("http://localhost:8080/data.zarr");
    const arr = await zarr.open(store, { kind: "array" });
    const region = await zarr.get(arr, [null, null, 0]);

@zarrita/[email protected]

18 Aug 14:23
e85da0c
Compare
Choose a tag to compare

Patch Changes

  • feat: Support v2 string data types with builtin indexing (#75)

@zarrita/[email protected]

18 Aug 14:23
e85da0c
Compare
Choose a tag to compare

Patch Changes

  • feat: allow RequestInit options to be configured in FetchStore constructor (#77)

@zarrita/[email protected]

18 Aug 14:23
e85da0c
Compare
Choose a tag to compare

Patch Changes

@zarrita/[email protected]

18 Aug 14:23
e85da0c
Compare
Choose a tag to compare

Patch Changes

@zarrita/[email protected]

18 Aug 14:23
e85da0c
Compare
Choose a tag to compare

Patch Changes

v0.2.3

27 Apr 16:06
70a52c8
Compare
Choose a tag to compare

Patch Changes

  • feat: export custom array containers (38e3026)