🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

anndata.js

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anndata.js

[![NPM](https://img.shields.io/npm/v/anndata.js.svg?color=black)](https://www.npmjs.com/package/anndata.js) [![License](https://img.shields.io/npm/l/anndata.js.svg?color=black)](https://github.com/ilan-gold/anndata.js/raw/main/LICENSE) ![GitHub Actions](h

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

anndata.js

NPM License GitHub Actions

AnnData for the browser

Quickstart

import { readZarr, get, readElem } from 'anndata.js';
import * as zarr from 'zarrita';

const store = await zarr.tryWithConsolidated(new zarr.FetchStore(path));
const adata = await readZarr(store);
await get(await adata.obs.get("leiden"), [null]) // full selection
await get(adata.X, [zarr.slice(0, 5), null]) // first 5 rows
adata.obs = await readElem(store, "obs") // read a part of the anndata object

Development

Installation of dependencies:

pnpm install

Testing:

pnpm test

Build:

pnpm build

FAQs

Package last updated on 13 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts