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

hugcheck

v0.1.0

Published

Sort through Hugging Face models and check the trust signals before you pull. Transparent checks, no magic scores.

Readme

hugcheck

Sort through Hugging Face models and check the trust signals before you pull.

The Hub has over a million models. Search is vibes, and supply-chain risk is real: pickle-format weights can execute arbitrary code on load, typosquat repos exist, and plenty of uploads have no card, no license, and no provenance. hugcheck surfaces the signals so you can decide with your eyes open.

What it is not: a guarantee. hugcheck reports observable signals — it can't prove a model's weights are clean or its publisher is honest. The verdict tiers are a starting point, not a verdict on truth.

Install

npm install -g hugcheck
# or just run it
npx hugcheck audit meta-llama/Llama-3.2-1B

Requires Node 18+. No API key needed — it uses the public Hub API.

Usage

# Full trust report for one model
hugcheck audit Qwen/Qwen2.5-7B-Instruct

# Search, ranked with trust badges (trust first, then downloads)
hugcheck search "7b instruct" --limit 8

# Side-by-side comparison
hugcheck diff Qwen/Qwen2.5-7B-Instruct mistralai/Mistral-7B-Instruct-v0.3

# Machine-readable output for scripts and agents
hugcheck audit <model> --json

audit exits 0 for clear/caution, 2 for avoid (handy for CI gates), 1 on errors.

The checks

| Check | What it looks at | |---|---| | Weight format | safetensors vs pickle (.bin/.pt/.pth/…) in the repo file list. Pickle-only is a fail — deserialization is code execution. CoreML/ONNX export dirs are excluded (their .bin files aren't pickles). | | Publisher | Publisher name vs a curated list of known orgs, with typosquat detection (homoglyph normalization like g00gle→google, plus edit-distance). Exact match passes; typosquat fails; near-miss warns. | | Model card | Is there one with actual metadata, or an empty husk? | | License | Declared in card metadata or tags? | | Maintenance | Last-updated date. Weights don't rot like software, so the bar is generous (2 years). | | Repo files | Custom modeling_*.py / configuration_*.py files auto-execute on load — flagged for review. | | Access | Disabled repos fail; gated repos are noted. |

Tier = worst check outcome: any fail → AVOID, any warn → CAUTION, else CLEAR.

The known-org list (src/util.ts) is curated, not exhaustive — it's the orgs attackers actually squat. PRs welcome if a legit org is missing.

Why no score?

A 0–100 trust score pretends at precision nobody has. A checklist with the evidence shown lets you apply your own judgment — which is the only judgment that counts here.

License

MIT