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

@authoritylog/cli

v0.1.1

Published

AuthorityLog CLI — verify AI-generated code against authoritative sources

Readme

@authoritylog/cli

Real-time hallucination guard for AI coding assistants — verify every import and API call against authoritative sources.

AuthorityLog catches the functions, packages, and exports that AI assistants fabricate. Run it in CI to fail PRs that contain hallucinated references before they ship.

Install

npm install -g @authoritylog/cli
# or use directly without installing:
npx @authoritylog/cli check src/

Usage

# Check a file
npx @authoritylog/cli check src/api.ts

# Check an entire directory
npx @authoritylog/cli check src/

# Show only fabricated references (suppress verified/deprecated)
npx @authoritylog/cli check src/ --severity errors-only

# JSON output for CI pipelines
npx @authoritylog/cli check src/ --format json

# Exit code 1 if any fabricated references found (use in CI)
npx @authoritylog/cli check src/ --fail-on errors

# Offline mode — use only local node_modules, no npm registry calls
npx @authoritylog/cli check src/ --network offline-only

# Clear the local npm registry cache
npx @authoritylog/cli cache clear

What it verifies

| Category | Example | What's checked | |---|---|---| | Package existence | import ... from 'axios' | Does axios exist on npm? | | Named exports | import { fetchMagically } from 'axios' | Is fetchMagically exported by axios? | | Function signatures | axios.get(url, extra, tooMany) | Does get accept 3 arguments? | | Method chains | axios.create().intercept() | Does .intercept() exist on the return type? |

Output

✗ Line 3: 'fetchMagically' is not exported by axios
    Source: node_modules/axios/index.d.ts
    Did you mean: 'get'?

✓ Line 1: Package 'ts-morph' found in node_modules
    Source: node_modules/ts-morph

Summary: 3 ✓  1 ✗  0 ⚠

Exit codes: 0 = clean, 1 = fabricated references found (when --fail-on errors is set).

VS Code / Cursor extension

Install the companion extension for inline gutter decorations and hover explanations:

ext install authoritylog.authoritylog

License

MIT — github.com/authoritylog/authoritylog