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

@taprootcms/core

v0.1.27

Published

Framework-agnostic data layer, auth, and content services for Taproot

Readme

@taprootcms/core

The framework-agnostic half of Taproot: the data layer, auth, content services, and storage adapters.

Most people should not install this directly. Run npm create taproot to scaffold a CMS server, or install @taprootcms/astro to build a website that reads from one. This package is what those are built on.

What is in it

  • A portable SQL layer over Kysely — the same code on SQLite (development), Cloudflare D1 (production), or Postgres. Both drivers are written in-tree, because Kysely ships no D1 dialect and the community one is unmaintained.
  • Content services: hierarchical paths with cascading renames and automatic redirects, revisions, taxonomies, menus, blocks, reusable blocks, releases, the workflow graph, and the scheduler.
  • Auth: PBKDF2-SHA256 through crypto.subtle, sessions and API keys hashed at rest, TOTP verified against the RFC 6238 vectors, and a throttle keyed per email and per client IP.
  • Validation: the field-type registry, and an allowlist HTML sanitiser that re-emits only what it understands rather than filtering what it recognises.
  • Storage: local disk and Cloudflare R2, behind one interface.

Zero native dependencies

No bcrypt, no argon2, no better-sqlite3, no sharp. Hashing goes through crypto.subtle, the development driver uses Node's built-in node:sqlite, and image dimensions are read from header bytes rather than decoded. npm install never needs a C++ toolchain, and nothing Node-only can reach a Workers bundle.

Entry points

| | | |---|---| | @taprootcms/core | Everything. Pulls in Kysely — server-side only | | @taprootcms/core/pure | Crop arithmetic and nothing else, for a client bundle | | /db, /auth, /content, /mail, /storage, /validation | Individually |

@taprootcms/astro imports only /pure at runtime, which is what keeps a website's bundle free of the data layer.

Requirements

Node 22.12 or newer. pg is an optional peer dependency, needed only for Postgres.

Documentation

See the repository.

License

MIT