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

s11tnext

v0.1.2

Published

Filesystem-independent runtime and compiler contracts for S11tnext

Downloads

284

Readme

s11tnext

Portable S11tnext artifact contracts, deterministic compiler primitives, and the typed catalog API. This package uses no Node.js builtins, filesystem APIs, process state, or TOML parsing. Supported Node.js releases are 20.19+, 22, and 24.

This package is available from the npm registry and remains in 0.x pre-release development. Review the changelog and compatibility policy when upgrading.

npm install s11tnext

Applications pass an artifact to createCatalog()—normally through a generated createAppCatalog() factory—and bind an explicit locale:

const invocation = catalog.bind(binding)("context.key", values);
provider.send({ role: invocation.role, content: invocation.content.text });
const fixedText = catalog.bindText(binding);
const liveText = catalog.createTextRenderer(() => bindingFromTopLevelSettings());
  • bind() returns immutable content and its manifest.
  • Each context produces exactly one system or user provider message; use the invocation's authored role instead of hard-coding it.
  • bindText() captures one immutable binding snapshot.
  • createTextRenderer() reads its resolver once per independent call.

For compound provider prompts, bind one request:

const request = catalog.bindRequest(binding);
const role = request.invoke("context.role", {});
const final = request.invoke("context.provider", { role: role.content.text });
const audit = request.finalize(final, [role]);

The audit contains the final manifest and successful request-local renders in call order. When fragments are supplied to finalize(), it also proves their byte ranges in the final payload. Set trailingNewline: false on a binding when the default terminal newline is not wanted. hashRendered() and verifyRenderedHash() let hosts verify the exact submitted text. manifest.messageHash additionally binds the provider-message role to that text. These hashes are integrity identifiers, not signatures or proof that a provider accepted the message.

Untrusted variables require delimited-context placement and a non-raw encoding. Use bind() or bindRequest() on provider and audit paths so content and its immutable identity stay correlated. For multiline Markdown or retrieved text, delimited-text preserves real newlines while escaping delimiter boundary characters. Optional variables may be omitted, and omitIfEmpty sections are excluded from both rendered text and the manifest's sectionIds.

See the complete guide and backend integration guide.