Content-Length: 268674 | pFad | http://github.com/manzt/zarrita.js/tree/main/packages/storage

E4 zarrita.js/packages/storage at main · manzt/zarrita.js · GitHub
Skip to content

Latest commit

 

History

History

storage

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@zarrita/storage

NPM License

Storage backends for Zarr in the browser, Node.js, Bun.js, and Deno.

Installation

npm install @zarrita/storage@next

Usage

import * as zarr from "@zarrita/core";
import { FetchStore, FileSystemStore } from "@zarrita/storage";

let remoteStore = new FetchStore("http://localhost:8080/data.zarr");
let arr = await zarr.open(remoteStore, { kind: "array" });

let localStore = new FileSystemStore("data.zarr");
await zarr.create(localStore, {
	data_type: "int64",
	shape: [100, 100],
	chunk_shape: [10, 10],
});

Read the documentation to learn more.

License

MIT









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/manzt/zarrita.js/tree/main/packages/storage

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy