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

@naylence/runtime

v0.4.18

Published

Naylence Runtime - Complete TypeScript runtime

Downloads

258

Readme

Join our Discord

Naylence Runtime (TypeScript)

Message fabric, connectors, listeners, and security primitives that power Naylence agents, nodes and sentinels. This package provides the runtime substrate—not the high‑level Agent SDK or tutorials.


What this is

@naylence/runtime is the foundational TypeScript/JavaScript library that implements:

  • FAME fabric (in‑process and networked) for routing envelopes between clients, agents, and sentinels.
  • Connectors & listeners for WebSocket/HTTP transports, back‑pressure, flow control, and streaming.
  • Profiles & admission: pluggable admission flows (e.g., token‑based), logical addressing, and attach APIs.
  • Security building blocks: envelope signing, overlay encryption, JWT/JWKS helpers, and identity hooks.
  • Cross-platform support: runs in Node.js and browser environments with unified APIs.

It is meant to be embedded by the Agent SDK, sentinels, and security add‑ons. Most users should not call it directly unless they're extending transports, writing custom admission, or integrating Naylence into an existing control plane.


When to use (and when not)

Use @naylence/runtime if you need to:

  • Build or customize transport connectors/listeners.
  • Implement or extend admission/identity flows.
  • Operate a bespoke sentinel or welcome/CA services.
  • Integrate Naylence into browser-based or Node.js applications.

Prefer the higher‑level packages for day‑to‑day development:

  • Naylence Agent SDK (TypeScript) — idiomatic agent APIs & ergonomics. → Coming soon
  • Naylence Examples (TypeScript) — runnable learning path & patterns. → Coming soon

For Python development, refer to:

If you're just getting started, learn with the Agent SDK and Examples first; drop down to Runtime only when you need lower‑level control.


Security profiles

The runtime exposes security primitives used by sentinels and agents through profiles:

  • direct — no admission; useful for local/dev.
  • gated — OAuth2/JWT‑gated admission; TLS via your reverse proxy.
  • strict‑overlay — sealed, end‑to‑end overlay encryption with SPIFFE/X.509‑style identities.

Important: The strict‑overlay profile is supported only when the @naylence/advanced-security package is installed. Install that add‑on to enable sealed channels and SVID‑backed identities.


Installation

npm install @naylence/runtime

Relationship to other repos


What this README intentionally omits

This page explains purpose and scope only. It does not include code samples, quick starts, or container recipes. For that:

  • Start with the Agent SDK docs and examples to learn the development model.
  • Refer to the Examples repository for runnable demos from simple to distributed to security‑hardened.

Support & license

  • Issues: open tickets in the corresponding repository (Runtime, SDK, Examples, or Advanced Security) based on where the problem belongs.
  • License: Apache‑2.0.