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

@developmentseed/deck.gl-healpix-zarr

v0.3.1

Published

HEALPix Zarr tile pyramid layer for deck.gl

Readme

@developmentseed/deck.gl-healpix-zarr

A deck.gl layer for rendering HEALPix data from a HEALPix Pyramid Zarr store (Zarr v3).

HealpixZarrTileLayer extends HealpixTileLayer from @developmentseed/deck.gl-healpix-tile, adding Zarr-specific data loading. It reads pyramid metadata on mount, selects an nside for the current zoom level, and renders tiles with HealpixCellsLayer.

Store format: see docs/specs/healpix-pyramid-zarr.md for layout, attributes, arrays, and conformance rules.

Tile index convention: { x, y, z } where x = parent cell at nside_partition (NESTED), y = log2(nside_partition), z = log2(nside) for the data level. Selected bands are loaded from bands/<name> and interleaved per pixel as [b0_p0, b1_p0, …, b0_p1, …] in prop order. Tile ids are z-y-x.

Installation

npm install @developmentseed/deck.gl-healpix-zarr

Peer dependencies: @deck.gl/core, @deck.gl/geo-layers, @deck.gl/layers, @luma.gl/core, @luma.gl/engine.

Usage

import {
  HealpixZarrTileLayer,
  type ZarrPyramidMetadata,
} from '@developmentseed/deck.gl-healpix-zarr';
import { HEALPIX_COLOR_MODE_RGB } from '@developmentseed/deck.gl-healpix';

const layer = new HealpixZarrTileLayer({
  url: 'https://example.com/sentinel2-pyramid.zarr',
  bands: ['b04', 'b03', 'b02'],
  colorMode: HEALPIX_COLOR_MODE_RGB,
  onMetadata: (meta: ZarrPyramidMetadata) => {
    console.log(meta.bands, meta.nsides);
  },
});

Zarr-specific props

| prop | type | default | description | |------|------|---------|-------------| | url | string | '' | URL of a store conforming to the data spec | | bands | string[] \| null | null | Bands to load; null loads nothing. Order sets interleaved value columns. | | onMetadata | function | — | (meta: ZarrPyramidMetadata, root) => void called when root metadata loads (and again if url changes) |

ZarrPyramidMetadata provides bands, nsides, baseNside, minNside, and parentLevels derived from root Zarr attributes.

Inherited props

All visual and tile-control props come from HealpixTileLayer — see @developmentseed/deck.gl-healpix-tile:

| prop | type | default | description | |------|------|---------|-------------| | nsideOffset | number | 5 | Shifts the zoom-to-nside mapping: nside = 2^round(zoom + nsideOffset). Advanced: rarely needs adjustment; changing the default loads significantly more data. | | colorMode | number | RGB | Forwarded to HealpixCellsLayer | | colorMap | Uint8Array | — | 256×4 RGBA LUT for scalar modes | | rescaleMin / rescaleMax | number | — | Scalar range → colorMap indices 0–255 | | filterMin / filterMax | number | — | Discard cells outside range | | shaderModules | ShaderModule[] | [] | Per-tile shader modules | | debugTiles | boolean | false | Yellow border and z-y-x tile id label on each loaded tile | | onStats | function | — | Tile/cell render counts after each update |

Other TileLayer props are forwarded (maxCacheSize, refinementStrategy, …).

License

MIT