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

@xcert-eu/ai-sdk

v0.1.1

Published

Instrument AI/LLM interactions for tamper-evident, non-repudiable certification via xcert.eu's self-hosted Sigstore trust stack.

Readme

@xcert-eu/ai-sdk

Instrument AI/LLM interactions — prompts, responses, tool calls, RAG context, token usage — for tamper-evident, non-repudiable certification via xcert.eu's self-hosted Sigstore trust stack. Same infrastructure already used to sign code artifacts (Fulcio-free custodial xcerteu:// org keys, DSSE, self-hosted Rekor) — see xcert-cli and xcert-js. Manage API keys and browse certified sessions at ai.xcert.eu (enable the "AI" product first under Settings → Products).

Built on real @opentelemetry/api/@opentelemetry/sdk-trace-node — this is not a fork, and not coupled to any editor or IDE. capture() starts a real OTel span and exports through a standard SpanExporter, so it works anywhere Node.js runs: backends, agents, chatbots, MCP servers, CI.

Usage

import { TrustAI } from "@xcert-eu/ai-sdk";

const trust = new TrustAI({
  ref: "xcerteu://<org-slug>/<key-id>",       // Trust → CLI in your org settings
  apiKey: process.env.XCERT_AI_KEY,            // Settings → API Keys (xai_...)
});

const response = await trust.capture(
  () => llm.invoke(prompt),
  { model: "gpt-4o", prompt, tokenUsage: { promptTokens, completionTokens } }
);

// before process exit
await trust.shutdown();

No signing/certificate concerns leak into the call site. Only the SHA-256 hash of each captured event is ever signed and logged to Rekor — raw prompt/response content never reaches xcert's servers durably (see xcert/src/lib/ai-attestation.ts in the main xcert repo for the canonicalize→hash→Merkle→DSSE→Rekor pipeline this SDK feeds).

Status

This is the SDK half of a larger pipeline. XcertSpanExporter posts directly to xcert's /api/ai/ingest REST endpoint (account.xcert.eu by default). For non-Node.js clients, or setups that already speak OTLP, see xcert-otel-collector — a real OpenTelemetry Collector distribution that any language's native OTel setup can point at directly, no SDK required.