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

@sandom/color

v0.5.1

Published

Color profile compilation, deterministic color transforms, uniform palette indexing, and output packing for WebAssembly consumers.

Readme

@sandom/color

This project owns reusable color management for WebAssembly consumers. Its maintained WAT compiles ICC profiles, applies deterministic color and output policy, parses and interpolates CSS colors, exposes embeddable primitives, performs bulk CPU transforms, packs generic sample planes, and builds bounded uniform palettes and RGBA8 palette indices.

Packages

  • npm: @sandom/color
  • library set: https://cdn.urania-libs.com, under sandom-color/dist/color.wasm

0.5.0 converts and mixes CSS colors in double precision with the CSS Color 4 conversions, its powerless-component ε and its carrying forward of missing components, gives color(rec2020) the gamma 2.4 transfer, takes the legacy comma syntax only in rgb() and hsl() and without none, takes an angle only as a hue, and clamps a negative hsl() saturation to 0%. It gamut maps with the CSS Color 4 binary search with local MINDE, routes linear RGB between primaries sets by primaries code and converts source planes to straight sRGB RGBA8.

0.5.1 merges released blocks of the color arena. A release merges each run of free blocks and gives a free last block back to the arena. Thus a series of larger requests does not grow the arena to its limit.

Boundaries

This project owns color semantics and color-profile processing. A renderer owns GPU resources and shader dispatch. Codecs own their containers and file-format rules. Gain-map policy belongs to @sandom/gain-map.

The package contains maintained WAT source and compiled WASM. It ships no JavaScript runtime entry point, generator, compatibility layer, or second color implementation. Consumers either instantiate @sandom/color/color.wasm or compose the manifest's embeddable WAT components into an existing module.

Build and verification

The required toolchain is Deno 2.7.7. WAT is assembled in process by tools/wat-assembler, so the build needs no WABT on PATH; see the assembler provenance.

deno task wasm
deno task check
deno task package:check

deno task wasm composes the ordered manifest and records source and artifact digests. deno task check verifies the artifacts and runs fixture-backed behavior tests, including clean installed-package composition. deno task package:check checks the actual npm file list.

The npm artifact includes dist/color.wasm, dist/color.wat, dist/color.build.json, src/color.manifest.json, and every maintained .watpart. See the ABI, WAT composition, fixture provenance, and assembler provenance.