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

@signicode/verser-common

v0.4.5

Published

Shared TypeScript utilities and primitives for Verser packages.

Readme

@signicode/verser-common

Shared protocol, type, and utility exports for verser2 packages.

Public API

  • Constants: VERSER_COMMON_PACKAGE_NAME, envelope constants, DEFAULT_MAX_ENVELOPE_METADATA_BYTES, VERSER_LIFECYCLE_EVENTS, VERSER_LEASE_ACQUIRE_TIMEOUT_HEADER
  • Classes: VerserError, VerserHttpErrorResponse
  • Helpers: createGuestId, createPeerId, createVerserHostId, createRoutedDomainRegistration, createFederatedRouteRegistration, createVerserHostFederationHandshake, resolveRouteForHostname, resolveRouteForUrl, Broker request creation, registration/control-frame helpers, envelope readers/writers, error-response helpers, stream/NDJSON/body helpers, header normalization/serialization, HTTP/2 header conversion, TLS/certificate helpers, getErrorMessage
  • Types: peer/guest/request IDs, routed domain/request/response envelopes, header shapes, envelope metadata/parser shapes, Broker request/response shapes, registration request/response shapes, certificate identity and registration and Host federation authorization shapes, Broker routes and federated route-control frames, TLS option shapes, error context/code shapes

Usage

This package is typically consumed as a dependency of other verser2 packages rather than directly by applications. Its types and helpers are re-exported through higher-level packages (@signicode/verser2-host, @signicode/verser2-guest-node, etc.).

import { VerserError, createGuestId, resolveRouteForHostname } from '@signicode/verser-common';

Caveats

  • Route resolution uses exact hostname matching; there is no wildcard or suffix domain matching.
  • Host federation protocol helpers are shared foundations for Host packages; most applications configure federation through @signicode/verser2-host.
  • Error codes include federation-aware failures such as upstream-unavailable, route-loop, and authorization-denied; unsafe-retry is reserved for retry-policy failures.
  • The package provides foundational types — most applications interact with verser through the Host, Guest, or Broker APIs rather than directly with verser-common.

Links