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

snowdb

v1.0.2

Published

SnowDB – A lightweight, append-only key–value store optimized for speed and simplicity

Readme

SnowDB

NPM Version NPM Downloads

SnowDB is a lightweight, high-performance key-versioned storage, append-only storage engine built in Rust, designed for scenarios where history matters. It’s not a traditional database — instead, it focuses on immutability and efficiency for workloads like:

  • Transaction history
  • Order logs
  • Audit trails
  • Game assets
  • Any system where data is never deleted, only appended
  • Persistent Multi-Map Store (HashMap-like, but versioned)

Features

  • Fast core in Rust — safe, efficient, and optimized for write-read-heavy workloads
  • Append-only design — data is immutable, ensuring reliable audit trails
  • Key-Value Store with Versions — Each key can have multiple versions
  • Node.js bindings — simple API with stream support
  • Lightweight & embeddable — no redundant services
  • Memory Efficient ~16MB RAM per 1 million records
  • Fast Lookup time is O(1)

Installation

npm install snowdb

Usage

import { SnowDB, SnowDBParser } from "snowdb";

const db = new SnowDB("./path/to/storage").connect();
const doc = db.document('orders', SnowDBParser.OBJECT) // support OBJECT, STRING, BUFFER 
// Insert record
await doc.save("user1", { orderId: 1, item: "Laptop", price: 1200 });

// Fetch all records
const history = doc.for('user1').all();
console.log(history);
// [{ orderId: 1, item: "Laptop", price: 1200 }]

API

See docs: https://yukiakai212.github.io/snowdb.js/


Technical Specifications

  • Record size: Supports up to 16777215 bytes (~16 MB) per record.
  • Total capacity: Up to 549755813887 bytes (~512 GB) per dataset.
  • Memory usage: Fixed at ~16 MB per 1 million records for index management, independent of total dataset size.
  • Access pattern:
    • O(1) lookup.
    • Queries consume only the RAM needed for the returned records (no overhead scanning).
  • Data model: Works like a persistent HashMap, but with 1-to-N versioned storage (each key can hold multiple versions).
  • Durability: Data is not lost after shutdown; behaves like a hybrid of in-memory hashmap and disk-backed storage.
  • Scalability: Optimized for both large sequential writes and fast point lookups.
  • Load time: ~1 second / 1 million records.
    • Faster on multi-core CPUs due to parallel loading.

Designed for high-performance workloads where memory predictability, persistence, and O(1) access matter.


Changelog

See full release notes in CHANGELOG.md


License

MIT © yukiakai