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

vavitien

v0.1.0

Published

Sign and verify Vavitien authorization proofs from JavaScript — the client half of the Vavitien SDK, wire-compatible with the Python verifier

Readme

vavitien (JavaScript SDK)

Sign Vavitien authorization proofs in JavaScript and submit them for verification over HTTP — wire-compatible, byte for byte, with the Python verifier.

const { prove, VavitienClient } = require('vavitien');

const client = new VavitienClient({
  baseUrl: 'https://api.vavitien.com',   // or your own `python -m vavitien.asgi`
  apiKey: process.env.VAVITIEN_API_KEY,
  // self-hosted servers expose /verify; the hosted service exposes /v1/verify
  verifyPath: '/v1/verify',
});

const decision = await client.verify(prove({
  privateKeyHex: process.env.VAVITIEN_AGENT_KEY,   // stays on your side, always
  agentName: 'refund-agent',
  action: 'issue_refund',
  payload: { amount: 200, customer_id: 'c1' },
  audience: 'billing',
  policyId: 'refunds',
  expiresInSeconds: 300,
}));

if (decision.ok) {
  // carry out the action — YOUR systems execute, Vavitien only decides
} else {
  // a DENY is a decision, not an error: decision.reason says which rule fired
}

A denial never throws — refusing an action is the service doing its job. VavitienClient throws only when no verdict could be obtained at all (bad credential, unreachable service), so "the payment was refused" can never be confused with "the network flaked".

What is proven, and by what

| Claim | Evidence | |---|---| | The signable bytes match the frozen protocol v1 profile | test/vectors.test.js — every committed cross-language vector reproduced exactly, ed25519 verdicts included | | A proof signed here verifies in the Python SDK | test/verify_against_sdk.py — 8 checks: honest proof, key_id agreement, five tamperings rejected, replay caught | | The client behaves correctly against a real server | test/round_trip.py — allow, policy deny, replay, and a 401 that throws instead of masquerading as a denial | | This signer and the n8n integration's cannot drift | test/drift_vs_n8n.js — identical bytes AND identical refusals on adversarial inputs |

Zero runtime dependencies — node:crypto and global fetch (Node ≥ 18).

Status: built and exercised, NOT published

Not on npm, not on the website. The npm name vavitien was verified unclaimed on 2026-08-20 (the PyPI name of the same spelling was lost — deleted, not yanked — so take the npm name deliberately and early). Before publishing:

  1. Decide the name and claim it (vavitien).
  2. npm run prepublishOnly must pass where it runs.
  3. Point the README's hosted URL at an endpoint that actually serves.
  4. Only then may the website mention it — same rule as the n8n node.