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

label-lens

v0.3.0

Published

Terminal-first review tool for noisy text training data.

Downloads

819

Readme

LabelLens

CI Release GitHub release License Bun TypeScript

Review noisy text labels from your terminal.

Your LLM, rules, or weak model labeled the dataset. Some fraction is wrong in ways you only catch by reading the rows. Options today:

  • Spreadsheet — no record context, no prediction metadata, no real keyboard flow.
  • Label Studio / Doccano / Prodigy — server, browser, accounts. Heavy for a 30-minute job over SSH, and overkill when you already have predictions and just need to review them.
  • A one-off CLI you vibe-code per dataset — works once, then you rewrite it next time.

LabelLens is the missing keyboard reviewer in the middle. Accept, reject, relabel, ask an assistant, export.

Local-first, runs over SSH, ships as a single Bun-compiled binary. State lives next to the source JSONL; the dataset never leaves the box unless you turn on the LLM assistant.

Status: v0.1 release candidate. See PRD.md and docs/adr/ for design.

Supported task types

Current support is configured with task. See Review task types for examples and data shapes. Planned task types are tracked in the roadmap.

| Task type | Status | Use it for | |---|---|---| | classification | Supported now | One label per record, such as intent, topic, or category review. | | boundary | Supported now | Document or line segmentation where surrounding context matters. | | multi-label | Planned V1 | Records that can carry multiple labels via toggle-style review. | | Extraction review | Planned V1 | Form-style correction of structured fields, without span editing. | | Pairwise / preference | Planned later | LLM output comparison and evaluation workflows. | | NER / span review | Planned V2 / future | Character-level span correction; deferred because terminal span editing is the hard part. See PRD §19. |

Install

curl (macOS arm64/x64, Linux arm64/x64):

curl -fsSL https://raw.githubusercontent.com/somus/label-lens/main/install.sh | sh

Pin a version with LL_VERSION=v0.1.2, override paths with LL_PREFIX / LL_BIN_DIR. Each release ships SHA256SUMS.txt; the installer verifies before extracting.

npm fallback (containers, non-shell environments):

npm install -g label-lens

60-second quickstart

labellens init data.jsonl   # infer schema, write labellens.config.json
labellens                   # open the review screen

In the TUI (default simple preset — arrow keys; see docs/reference/keybindings.md for the full table covering both simple and vim presets):

  • a accept · r relabel · 19 quick-relabel · x reject · s skip
  • / navigate · / cycle queues
  • i LLM assistant (configures on first press) · t stats · ? help · q quit

When done:

labellens export jsonl       # write reviewed dataset
labellens export stats       # Markdown summary

Docs

| | | |---|---| | Tutorial | Full 5-minute walkthrough. | | How-to guides | Configure the assistant, work with queues, bulk-relabel, export, migrate labels, run over SSH, use Ollama locally. | | Reference | Config schema, keybindings, queue grammar, CLI flags, output formats. | | Explanation | Domain model, why skipped is its own state, audit semantics. | | Roadmap | What's deferred past v0.1. | | labellens guide | Print the tutorial offline (SSH-friendly). | | labellens --help | Quick reference printed to stdout. | | man labellens | Man page (installed by curl-installer). |

Project layout

  • PRD.md — product spec.
  • CONTEXT.md — domain glossary.
  • docs/ — user-facing documentation (index).
  • docs/adr/ — architecture decision records.
  • AGENTS.md (alias CLAUDE.md) — orientation for AI agents working on this repo.

License

MIT