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

@steve31415/baselib

v3.14.0

Published

Plasticine new-world shared platform library: logging, auth, service-to-service auth, db, HTTP, sync, app updates

Readme

baselib

The Plasticine new-world shared platform library (@steve31415/baselib). What it provides and why: docs/SPEC.md. How it's put together: docs/IMPL.md. Full design rationale with alternatives: ~/migration/research/base-services-design.md (step 5).

Server subpath exports: config, log, auth, s2s, db, http, sync, app-update, llm, email, and twitter. Browser exports: log-browser, rum, slow-fetch, sync-browser, and app-update-browser.

sync provides the Postgres event-log and server protocol primitives; sync-browser provides the IndexedDB outbox and offline-first client. app-update renders build-aware shells, matches their ETags, and fetches retained assets for consumer-owned routes; app-update-browser detects a new traffic build and reloads when the app's injected safety policy permits. Apps inject their domain mutations, state adapter, transport/auth-state integration, and update hooks. These modules do not decide authentication or ownership, contain app domain logic, or act as a generic Yjs or service-worker coordinator.

llm is the fleet's one LLM client (Anthropic, Gemini, OpenAI): model registry, automatic cross-provider failover, portable JSON-schema output. Usage guide: ~/plasticine-way/docs/LLM.md.

email is the fleet's transactional email path: sendEmail through Resend from a named [email protected] sender, no outbox — a failed send is an ERROR log (~/plasticine-way/docs/SECURITY.md, "Resend API key").

Bins: check-test-owners — the fleet's structural test-coverage gate; every app runs it from npm run verify. pw-deploy / pw-rollback — the fleet deploy (~/plasticine-way/docs/OPERATIONS.md, "Deployment safety"). pw-sql / pw-logs — read-only production queries (database, Axiom), the first step of any production investigation (same doc, "Investigating production state").

twitter provides Mirror2-first tweet lookup, TwitterAPI.io batch/search/ article calls, and thread assembly through direct reply edges. It includes one level of quotes, article bodies and URL expansions. Use one shared MirrorTweetClient(mirrorUrl, serviceFetch) and TwitterApiIoClient(key) per run; assembleThread(id, { api, mirror, ancestors: 'all' }) returns role-tagged tweets, source counts and warnings. Batch prefetching Mirror ids seeds the shared cache. Reader2 and Snip retain their copies for now.

Releasing: bump version, commit, and run npm run deploy (Coder runs it automatically when integrating a baselib branch) — it pushes the v<version> tag, whose workflow gates on verify and publishes via OIDC, and waits for the registry (~/plasticine-way/docs/OPERATIONS.md, "Publishing baselib").

Reflects Plasticine Way commit: see docs/IMPL.md footer.