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

@uvrn/api

v1.5.3

Published

UVRN REST API — HTTP access to bundle processing

Readme

@uvrn/api

UVRN REST API — HTTP server for Delta Engine bundle processing. Exposes run, validate, and verify over HTTP so any client (browser, script, or service) can call the engine without installing the core or SDK. Release: 1.5.2.

Disclaimer: UVRN is in Alpha testing. The engine measures whether your sources agree with each other — not whether they’re correct. Final trust of output rests with the user. Use at your own discretion. Have fun.

UVRN makes no claims to "truth", the "verification" is the output of math — it is up to any user to decide if claim is actually "true" — Research and testing are absolutely recommended per use case and individual system!!

Install

npm install @uvrn/api

Or with pnpm:

pnpm add @uvrn/api

Usage

  1. Start the server (default port 3000):
npx @uvrn/api

Or from your app:

import { startServer, createServer } from '@uvrn/api';

// Default: start with default config (port 3000)
await startServer();

// Or create server with custom config, then listen
const server = await createServer({ port: 4000 });
await server.listen({ port: 4000, host: '0.0.0.0' });
  1. Send a bundle (e.g. POST to /api/v1/delta/run) and get a receipt in the response. Use /api/v1/delta/validate and /api/v1/delta/verify for validation and verification.

Example with curl:

curl -X POST http://localhost:3000/api/v1/delta/run \
  -H "Content-Type: application/json" \
  -d '{"bundleId":"example-001","claim":"Compare sources","thresholdPct":0.1,"dataSpecs":[...]}'

Logging

Logging uses Pino (via Fastify). Behavior depends on NODE_ENV:

  • Production (NODE_ENV=production): JSON logs to stdout; no transport.
  • Development (NODE_ENV=development or unset): If the optional dependency pino-pretty is installed (e.g. as a devDependency), logs are pretty-printed for readability. If pino-pretty is not available, the server falls back to standard Pino output and does not crashcreateServer() always succeeds with default config.

To get pretty logs in development, install pino-pretty in your project (e.g. pnpm add -D pino-pretty). It is optional; the API never requires it to start.

Use cases

  • Expose the engine over HTTP — Let frontends, scripts, or other services run the Delta Engine without a local Node dependency.
  • Centralized verification service — Run one API instance and have many clients submit bundles and get receipts.
  • CI or automation — Call the API from pipelines to run comparisons and verify receipts.

Links

Open source: Source code and issues: GitHub (uvrn-packages). Project landing: UVRN.

  • Repository — monorepo (this package: uvrn-api)
  • @uvrn/core — Delta Engine core used by this server
  • @uvrn/cli — run the engine from the command line instead of HTTP