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

cloud-roaring

v0.0.0

Published

Distributed, cloud-native Roaring Bitmaps — query and intersect billion-scale integer sets over tiered cloud storage (RAM → NoSQL → object store), at a fraction of an always-on cache.

Readme

CloudRoaring

An easy-to-use, open-source library that takes the Roaring Bitmap data structure distributed and cloud-scale — so bitmaps that are too big for a single machine's RAM can live durably across tiered cloud storage, while keeping the fast, familiar in-memory API.

npm install cloud-roaring      # or: pnpm add cloud-roaring

Pre-release (0.0.0). The package name is reserved and the repo is scaffolded, but there is no functional API yet — Phase 0 (design + scaffold) is wrapping up. Follow the roadmap for progress.

Status: 🛠️ Phase 0 — all 7 design specs locked; repo scaffold (TypeScript, CI, lint, tests) landing. First functional code (the in-memory core) is Phase 1.

Table of contents

The idea (in one paragraph)

The original roaring-node (C++ bindings) is a brilliant local data structure engine — but it's bound by a single process's RAM and is ephemeral (lose the process, lose the data). CloudRoaring wraps that same engine in a distributed storage architecture: a Hot tier (local RAM + LRU cache), a Warm tier (a NoSQL DB such as DynamoDB holding 8 KB binary chunks), and a Cold tier (compacted archive files in object storage such as S3). A background compaction daemon keeps the warm tier from fragmenting, and a serverless intersection engine lets thousands of functions query enormous bitmaps by pulling only the specific chunks they need. Same developer experience as roaring-node; virtually unlimited capacity and cloud durability underneath.

These are the concepts explored in the origin conversation — they are not yet finalized design decisions. See the docs below.

Documentation

All planning lives in docs/, written one document at a time as we work through the design — the docs index is the map and also defines our working process.

| Doc | What it is | |---|---| | docs/00-NORTH-STAR.md | The vision: problem, market gap, product pillars, what we're NOT building, success metrics, license — read first | | docs/01-ARCHITECTURE.md | System design: key routing, the three tiers, read/write paths, the .crbm format, pluggable drivers, the intersection engine, the compaction daemon, runtime/daemon modes, ADRs | | docs/02-POSITIONING.md | Why CloudRoaring & when — fact-checked cost/performance vs Redis & ClickHouse, where we win/lose, design levers | | docs/0309 | The build specs (locked): data model, .crbm format, driver SDK, lifecycle/erasure, threat model, cost model, testing/determinism | | docs/10-SEO-AND-RELEASE.md | Naming/SEO strategy, npm + GitHub discoverability, the release & launch checklist | | docs/research/adversarial/ | Adversarial pre-build review (8 lenses) — critical correctness/cost/security findings + the data-model revision they force (research) | | docs/research/02-COST-PERFORMANCE-VERIFICATION.md | Source-cited fact-check of every cost/scale/performance claim (research) | | docs/99-ROADMAP.md | The phased build plan — every architecture piece + every stress-test fix, chunked into phases. The living source of project state | | docs/research/00-ORIGIN-CONVERSATION.md | Verbatim capture of the origin conversation (Google AI Mode / "Gemini") that started the project — all 16 turns, every diagram, table, and formula. Raw research input. |

More docs (file-format spec, storage-driver SDK, compaction reliability) will be added as we design each piece.

Conventions

This project follows the personal-repo conventions in ~/sharvil/README.md: kebab-case folder, own git repo, personal git identity, and — once implementation starts — the full engineering-standards baseline (TypeScript + strict typecheck, lint, format, tests, CI, pre-commit hooks). Per-phase working process (branch off main, test, commit/push, adversarial subagent review) lives in CLAUDE.md and the docs index. License: Apache-2.0 (decided) + trademark the name — see the North Star.

Getting started

The library has no functional API yet, but the repo is scaffolded — a fresh clone passes the full gate with no manual setup:

pnpm install
pnpm lint && pnpm lint:arch && pnpm format:check && pnpm typecheck && pnpm test && pnpm build
pnpm test:integration   # spins up DynamoDB-Local + MinIO via `docker compose`

To understand the project, read docs/00-NORTH-STAR.md; for how it will be used end to end (with a live scenario), see USAGE.md.