npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@fideus-labs/nd-image-codecs

v0.1.0

Published

Composable Zarr v3 codecs (nd-delta, nd-lift-ht, nd-zfp) for ND scientific images — cross-axis lifting, HTJ2K coefficient planes, and ZFP, with an axis-aware codec-series builder (WebAssembly).

Downloads

263

Readme

@fideus-labs/nd-image-codecs

Composable Zarr v3 codecs for ND scientific images — TypeScript / WebAssembly binding.

A family of Zarr v3 codecs that capture correlation along z, time, and channel axes explicitly — as ordinary, independently specified array-to-array and array-to-bytes codecs — then store the result with a fast entropy backend, High-Throughput JPEG 2000 (ISO/IEC 15444-15) coefficient planes, or ZFP blocks. Built for OME-Zarr / OME-NGFF and zarrita.js.

No JPEG 2000 Part 2 (MCT) syntax anywhere — cross-axis decorrelation is an explicit Zarr codec, sidestepping Part 2 IP entirely.

The three codec families

codecSeries assembles a series (pipeline) of Zarr v3 codecs from an array's axis metadata:

| Family | Series (pipeline) | Built for | | --- | --- | --- | | nd-delta | transpose → numcodecs.delta → bitshuffle → zstd/lz4 | Fast lossless storage from existing Zarr codecs only | | nd-lift-ht | transpose → nd_lift → htj2k | Scalable microscopy & volume visualization | | nd-zfp | transpose → reshape → zfp | GPU volume rendering, random access, fixed-rate memory |

Install

npm install @fideus-labs/nd-image-codecs

Usage

import { codecSeries } from "@fideus-labs/nd-image-codecs";

const codecs = codecSeries(["t", "c", "z", "y", "x"], [8, 1, 32, 256, 256],
                           "uint16", "nd-lift-ht");

The codec classes (NdLift, Htj2k, NdZfp) follow the numcodecs.js convention with a static fromConfig, so they register with zarrita.js:

import * as zarrita from "zarrita";
import { registerZarritaCodecs } from "@fideus-labs/nd-image-codecs";

registerZarritaCodecs(zarrita.registry);

One call registers zarrita-native adapters for nd_lift, htj2k, zfp, and reshape (plus the deprecated nd_zfp read alias), and replaces zarrita's transpose/numcodecs.delta/blosc entries, whose stock implementations cannot write transposed pipelines correctly.

Status

Pre-alpha. codecSeries is fully implemented in pure TypeScript and is cross-checked against the Rust and Python implementations in CI. The nd_lift, htj2k, and zfp encode/decode paths are backed by the same Rust core as the zarrs codecs and the Python extension, compiled to WASM, so every ecosystem produces byte-identical chunks — CI pins the committed micro-fixtures and the nd_lift conformance vectors in all three languages.

Links

License

MIT — Copyright (c) Fideus Labs LLC.