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

blindrange

v0.3.0

Published

Range queries over storage that cannot read your data. SQL-shaped statements over the blindrange network; runs the reference client, so there is nothing to drift.

Readme

blindrange

Range queries, prefix search and counts over storage that cannot read your data — a network of nodes holding pseudorandom keys and sealed blobs, with every key derived from a master that never leaves your machine.

import { connect } from "blindrange";

const db = await connect({
  path: "./shop",                            // back this directory up
  passphrase: "correct horse battery staple",
  bootstrap: ["seed.blindrange.dev:7501"],
  networkSecret: "blindrange-public",
});

await db.execute(`CREATE TABLE orders (
  amount   INT BITS 20 BLUR 64,
  day      INT BITS 16 BLUR 16,
  status   TEXT(6) BLUR 16,
  customer STORED
)`);

await db.execute(`INSERT INTO orders (amount, day, status, customer)
  VALUES (450, 201, 'paid', 'cust-001')`);

const rows = await db.execute(
  `SELECT * FROM orders WHERE amount BETWEEN 300 AND 500`);

await db.close();

The statement language is shaped like SQL and deliberately not SQL: everything the engine genuinely cannot do — JOIN, OR, exact SUM(), leading-wildcard LIKE — is refused with a message that names why and what to use instead (UnsupportedError). The full dialect and the reasoning: https://blindrange.dev/build

How this package works, honestly

It is not a JavaScript reimplementation. It spawns the reference Python client as a child process it owns — a self-contained CPython ships as a platform-specific optional dependency, so there is nothing to install and no daemon to run. Stdio only: no port exists, so nothing else on the machine can connect to your database, and the child dies with your process.

Why: the client is where all cryptography lives. A parallel JS implementation would have to match it byte-for-byte forever, and every divergence would be silent data corruption. Running the reference means there is exactly one implementation of everything that matters.

Costs, stated plainly: ~25 MB download for the bundled runtime, and ~100 ms child start per connect(). If the bundled runtime is missing for your platform, the package falls back to python3 on PATH with blindrange installed, or an explicit path via BLINDRANGE_PYTHON.

What this is not for

A research prototype on a demo network with no durability promises. Not for healthcare or high-stakes PII — the threat model says exactly what leaks and why: https://github.com/alviso/blindrange#threat-model