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

@the_library/db

v0.23.0

Published

Published under Creative Common

Readme

D-Code Licence

Published under Creative Common

  • Attribution
  • No Modification
  • Non Commercial

DEv Preview

D-Licenced - DB

This Library purpose is to

  • Provide a latency FREE in memory data store to be used in javascript environment
  • Integrate with D-factory solidity smart contracts published here: https://github.com/data-pond/d-solidity
  • Provide a unified solidity/typescript 3 Way binding ORM with codegen support ( deep integration with v-model, removing the need to implement save and @change )
  • Ships with Worker :
    • Arweave data storage support - which handles downloading and caching of Arweave data files into indexDB
    • MuPDF wasm - which transform on the fly images from downloaded PDF files from Arweave

Flow

Under the Hood, the inMemory DB <--> IndexedDB <--> Solidity is simple:

Terms:

  • DS: Download and Store into indexeDB
  • IM: If member of a crypto club, and the wallet is connected

Data Flow:

    1. First Load: DS the initial State from a fat JSON files
    1. Replay all local appendOnly modification
    1. IM: Download and replay all remote modification
    1. Store All state modification into an AppendOnly log into IndexedDB
    1. IM: pack unsaved logs, binary encode them and store them the user's connected chain.

This library is currently tightly coupled with some of vue3 reactivity primitives, such as ref, reactive and computed

Documentation

definitions

A collection of JSON models for use for codegen

generated

Typescript code generated

generator

The code gen (WIP)

versions

Typescrip code generated

engine: The ORM & Workers