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

legalithm

v0.1.3

Published

EU AI Act compliance in your coding loop — detect AI deps, generate a dated compliance record, and gate CI/agents on it.

Readme

legalithm

EU AI Act compliance in your coding loop. Detect AI dependencies, generate a dated, cited compliance record in your repo, and gate CI — and your AI coding agent — on it. Checked against Regulation (EU) 2024/1689. Not legal advice.

Quickstart

# 1. Wire Legalithm into Claude Code + Cursor (hooks, rules, MCP). No key needed.
npx legalithm setup

# 2. Generate the compliance record for this repo (needs a free API key).
npx legalithm login --key lgl_...
npx legalithm init        # → compliance/legalithm.json (+ annex-iv.md, checklist.md)

# 3. Re-verify in CI; non-zero exit on drift.
npx legalithm check

Get a key at https://www.legalithm.com → Settings → API Keys.

Commands

| Command | Key? | What it does | |---|---|---| | setup | no | Wires Claude Code hooks + Cursor rules + the MCP server into the repo (idempotent, non-destructive). | | guard | no | Fast offline gate for hooks/CI: AI deps present without a record? Exit 2 (blocks), --warn for a non-blocking nudge. | | init | yes | Detects the stack and generates compliance/legalithm.json + annex-iv.md + checklist.md. | | check | yes | Re-verifies the committed record; exits non-zero on input/rule/risk drift (for CI). | | classify | yes | Quick risk hint for the current repo. | | login | — | Saves an API key. |

Make it a mandatory step

legalithm setup installs a Claude Code Stop hook that runs legalithm guard — the agent can't finish a turn while AI code lacks a compliance record — plus a non-blocking nudge after edits. Pair with the GitHub Action as the CI backstop. guard is offline (no key, no network), only fires on a real AI signal, and warns rather than blocks when the classification is uncertain.

Exit codes (check / guard)

0 in sync / ok · 1 drift ≥ threshold · 2 usage / no record (guard: blocking) · 3 API/auth/network.

Stack detection

Node, Python, Go, Rust, Java, .NET, PHP, Ruby — by dependency manifest. Privacy-safe (only dependency identifiers are read, never env values or file contents).


Not legal advice and not a certification — a checked, dated starting point. Verify low-confidence results with a qualified person.