# @zarrita/storage

> [![NPM](https://img.shields.io/npm/v/@zarrita/storage/next.svg?color=black)](https://www.npmjs.com/package/zarrita) [![License](https://img.shields.io/npm/l/zarrita.svg?color=black)](https://github.com/manzt/zarrita.js/raw/main/LICENSE)

Latest version **0.2.0** (published 2026-04-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install @zarrita/storage
pnpm add @zarrita/storage
yarn add @zarrita/storage
bun add @zarrita/storage
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; high maintenance score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2026-04-14 |
| First published | 2023-08-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 135.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 145 |
| Maintainers | manzt |

## Links

- npm: https://www.npmjs.com/package/@zarrita/storage
- Repository: https://github.com/manzt/zarrita.js
- Homepage: https://github.com/manzt/zarrita.js#readme
- Issues: https://github.com/manzt/zarrita.js/issues
- npm.io page: https://npm.io/package/@zarrita/storage

## Dependencies (2)

- [unzipit](https://npm.io/package/unzipit.md) 2.0.0
- [reference-spec-reader](https://npm.io/package/reference-spec-reader.md) ^0.2.0

## Recent versions

- 0.2.0 (latest) — 2026-04-14
- 0.1.0-next.10 (next) — 2025-03-01
- 0.1.4 — 2026-01-30
- 0.1.3 — 2025-09-29
- 0.1.2 — 2025-08-13
- 0.1.1 — 2025-03-25
- 0.1.0 — 2025-03-01
- 0.1.0-next.9 — 2025-02-24
- 0.1.0-next.8 — 2024-12-03
- 0.1.0-next.7 — 2024-10-01
- 0.1.0-next.6 — 2024-08-23
- 0.1.0-next.5 — 2024-05-10
- 0.1.0-next.4 — 2024-02-25
- 0.1.0-next.3 — 2023-09-26
- 0.1.0-next.2 — 2023-09-25
- … 5 more at https://npm.io/package/@zarrita/storage/versions

## README

# @zarrita/storage

[![NPM](https://img.shields.io/npm/v/@zarrita/storage/next.svg?color=black)](https://www.npmjs.com/package/zarrita)
[![License](https://img.shields.io/npm/l/zarrita.svg?color=black)](https://github.com/manzt/zarrita.js/raw/main/LICENSE)

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

## Installation

```sh
npm install @zarrita/storage
```

## Usage

```javascript
import * as zarr from "zarrita";
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](https://manzt.github.io/zarrita.js/) to learn more.

## License

MIT

---
_Source: https://npm.io/package/@zarrita/storage · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
