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

@tacitprotocol/sdk

v0.1.2

Published

The Tacit Protocol SDK — verify identity, prevent fraud, and broker trusted introductions with cryptographic proof

Readme

@tacitprotocol/sdk

The TypeScript SDK for the Tacit Protocol — verify identity, prevent fraud, and broker trusted introductions with cryptographic proof.

npm License: MIT

Install

npm install @tacitprotocol/sdk

Quick Start

import { TacitAgent } from '@tacitprotocol/sdk';

// Create an agent with a fresh DID identity
const agent = await TacitAgent.create({
  domain: 'professional',
  preferences: {
    languages: ['en'],
    introductionStyle: 'professional',
  },
});

// Publish an intent to the network
await agent.publishIntent({
  type: 'introduction',
  domain: 'professional',
  seeking: {
    role: 'co-founder',
    skills: ['backend', 'systems-architecture'],
    industry: 'fintech',
  },
  context: {
    offering: 'product leadership, 10 years in payments',
    stage: 'pre-seed',
  },
});

// Listen for verified matches
agent.on('match', async (event) => {
  const { match } = event;
  console.log(`Match: ${match.score.overall}/100`);
  console.log(`Authenticity: ${match.score.breakdown.authenticityCompatibility}`);
});

// Connect to the relay network
await agent.connect();

Core Modules

Identity (createIdentity, sign, verify)

W3C DID-based identity using Ed25519 keypairs. Every agent gets a did:key identifier that is cryptographically verifiable.

import { createIdentity, sign, verify } from '@tacitprotocol/sdk';

const identity = await createIdentity();
console.log(identity.did); // did:key:z6Mk...

const data = new TextEncoder().encode('hello');
const signature = await sign(data, identity.privateKey);
const valid = await verify(data, signature, identity.publicKey);

Authenticity (AuthenticityEngine)

Multi-dimensional trust scores that are earned over time — impossible to fake overnight. Dimensions: tenure, consistency, attestations, network trust.

import { AuthenticityEngine } from '@tacitprotocol/sdk';

const engine = new AuthenticityEngine();
const vector = engine.computeVector({
  created: agent.card.agent.created,
  consistencySignals: { intentFulfillmentRate: 0.9, responseRate: 0.85 },
  credentials: agent.card.credentials,
  networkTrust: { endorsements: 12, uniqueEndorsers: 8, mutualConnections: 3 },
});
console.log(vector.score); // 0-100

Discovery (IntentBuilder, IntentStore)

Publish and discover encrypted intents on the network. The IntentBuilder provides a fluent API for constructing intents.

import { IntentBuilder, IntentStore } from '@tacitprotocol/sdk';

const intent = new IntentBuilder(agent.did)
  .type('introduction')
  .domain('professional')
  .seeking({ role: 'backend-engineer', skills: ['rust', 'distributed-systems'] })
  .context({ offering: 'equity + salary', stage: 'seed' })
  .minAuthenticity(70)
  .ttl(86400) // 24 hours
  .build();

const store = new IntentStore();
store.add(intent);
const matches = store.query({ domain: 'professional', keywords: ['rust'] });

Matching (MatchScorer)

Score compatibility between two agents across five dimensions: intent alignment, domain fit, authenticity compatibility, preference match, and timing fit.

import { MatchScorer } from '@tacitprotocol/sdk';

const scorer = new MatchScorer({ autoPropose: 80, suggest: 60 });
const result = scorer.score({
  initiator: { intent: aliceIntent, card: aliceCard },
  responder: { intent: bobIntent, card: bobCard },
});

console.log(result.score.overall);           // 0-100
console.log(scorer.determineAction(result.score.overall)); // 'auto-propose' | 'suggest' | 'ignore'

API Reference

Exports

| Export | Type | Description | |--------|------|-------------| | TacitAgent | Class | Main agent interface — identity, intents, matching, events | | createIdentity | Function | Generate a new Ed25519 DID identity | | publicKeyToDid | Function | Convert a public key to a did:key DID | | resolveDid | Function | Resolve a DID to its public key | | sign / verify | Functions | Ed25519 signing and verification | | AuthenticityEngine | Class | Compute multi-dimensional trust scores | | IntentBuilder | Class | Fluent builder for constructing intents | | IntentStore | Class | Local intent storage with lifecycle management | | MatchScorer | Class | Score compatibility between two agents |

All types are fully exported — see the type definitions for the complete schema.

Requirements

  • Node.js >= 18.0.0 (Web Crypto API required)
  • TypeScript >= 5.0 (recommended)

Links

License

MIT