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

@particle/tachyon-image

v0.1.0

Published

Shared library for Particle Tachyon system images: operation-graph model, particle_image_v1 + Qualcomm manifest/rawprogram/patch XML round-trip, ed25519 signing, sparse/chunk decode, format expansion, manifest-first zip, and validation. Consumed by tachyo

Readme

@particle/tachyon-image

Shared library for Particle Tachyon system images. It is the single home for all image logic so the composer, CLI, on-device OTA service, and cloud server never re-implement it:

  • operation-graph model (program chunked/sparse · erase · zero · patch GPT-arith · gpt)
  • particle_image_v1 (Particle format) + legacy Qualcomm image_manifest_v1 parse/build
  • rawprogram / patch / erase XML round-trip (import a real factory image, emit qdl-ready XML)
  • ed25519 / JCS manifest signing + verification
  • sha256 / payload_sha256 hashing (expanded-with-holes)
  • Android sparse + multi-chunk decode
  • format expansion: factory | ota-image(slot) | ota-boot(slot)
  • manifest-first ZIP read/write (streaming, partition-decodable order)
  • validation (shared by composer CI, cloud server, CLI)

Every module is unit-tested. Golden fixtures under test/fixtures/factory/ are real rawprogram/patch/manifest.json entries pulled from the published Tachyon factory image, used to prove lossless round-trip.

Prior art (reference, not a dependency)

The Qualcomm rawprogram/patch grammar is also implemented by linux-msm/qdl (C, BSD-3 — authoritative) and bkerler/edl (Python, GPL-3 — most complete parser). We read those for grammar edge cases (patch CRC ops, partofsingleimage, sparse/erase) but implement our own in TypeScript: no JS/TS library exists, it avoids the GPL/Python coupling, and we need a superset (op-graph + particle_image_v1 + signing) they don't provide.

Build & test

npm install
npm run build      # tsc -> dist/
npm test           # vitest
npm run typecheck