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

versie

v1.0.1

Published

A simple and adaptive version management library

Readme

versie

A lightweight version control library for the browser.

Versie ("version" in Dutch) provides git-like version control — commits, blobs, and bookmarks — designed to run entirely in the browser backed by IndexedDB.

Features

  • Commits & history — create commits with arbitrary metadata, traverse history, and check out any point in time
  • Bookmarks — named pointers to commits (analogous to git branches/tags)
  • Delta compression — blobs are stored as compressed deltas using fast-diff and pako, with a Bloom filter to speed up delta lookups and an LRU cache to reduce redundant decompression
  • Pluggable storage — implement the Storage<M> interface to use any backend; IndexDBStorage is provided out of the box
  • Import / export — serialize and restore the full repository state

Installation

npm install versie

Usage

import { Versie, IndexDBStorage } from "versie";

type Meta = { author: string };

const storage = await IndexDBStorage.create<Meta>("my-repo");
if (!storage.ok) throw storage.error;

const vcs = await Versie.create(storage.value, (raw) => raw as Meta);
if (!vcs.ok) throw vcs.error;

const repo = vcs.value;

// Commit some content
const commit = await repo.commit("Hello, world!", { author: "Alice" });

// Check out the latest commit
const checkout = await repo.checkout(commit.value.hash);
console.log(checkout.value.data); // "Hello, world!"

Storage interface

Custom backends can be provided by implementing Storage<M>:

import { Storage } from "versie";

class MyStorage<M> implements Storage<M> {
  // implement getCommit, setCommit, getBlob, setBlob, getDelta, setDelta,
  // getBookmark, setBookmark, removeBookmark, getAllCommits, …, import, export
}

Building

npm run build       # build to dist/
npm run test        # run tests
npm run lint        # lint

Roadmap

  • Easy diffing between two commits
  • Efficient minified in-memory tree of all commits

License

Apache-2.0