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

truen-connect

v0.7.0

Published

Truen connect CLI — derives AI collaboration signals from local Claude Code data and uploads them to your Truen profile. Raw transcripts never leave your machine.

Readme

truen-connect

Connects your local Claude Code usage to your Truen profile as evidence for the AI Collaboration verdict.

What it does — and doesn't — upload

The CLI scans your local Claude Code data (~/.claude/projects/**/*.jsonl session transcripts plus your skills — personal and per-project — hooks, MCP servers, and global/per-project CLAUDE.md files) entirely on your machine and derives per-session signals: prompt sophistication, plan-then-execute behavior, steering/correction rate, MCP/skill/subagent usage, session depth, and corpus span/volume.

What uploads after your explicit confirmation:

  • the derived per-session signal numbers
  • tooling names only (skills, MCP servers, hook events)
  • a small capped set of short prompt excerpts (≤3 per session, ≤60 total, ≤280 chars each), redacted for secrets/env values and shown verbatim in the preview

Raw transcripts never leave your machine. The preview shows exactly what will upload; nothing is sent until you type upload.

Usage

First sync (pairs this machine):

  1. Open your Truen profile at /student/profile and generate a connect code (valid 10 minutes, single-use).
  2. Run:
npx truen-connect
  1. Review the preview, type upload, paste your connect code.

Pairing stores a revocable device token in ~/.truen/credentials.json (owner-only permissions; the server keeps only its hash). Every later sync is just npx truen-connect again — preview, type upload, done. Profile regeneration is queued automatically after each successful sync; revoke the device any time from /student/profile or with --forget.

Options

--server <url>   Truen server (default: $TRUEN_SERVER_URL or https://truen.co)
--code <code>    Connect code (prompted interactively if omitted)
--dry-run        Scan and preview only — uploads nothing
--forget         Delete the stored device token for this server and exit

Development

npm install
npm run dev -- --dry-run        # run from source
npm run build                   # bundle to dist/ (tsup)
node dist/index.js --dry-run

The upload payload contract mirrors src/lib/ai-signals/schemas.ts in the main repo (that copy is canonical); the server validates every upload against it.