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

@justestif/lasso

v0.1.6

Published

Harness-agnostic observational memory and linting CLI for coding agents.

Readme

lasso

Agent memory + lint rules. Local-first, harness-agnostic.

Records observations, detects repeated corrections, surfaces context when agents start new sessions.

Install

bun install -g @justestif/lasso
# or
npm install -g @justestif/lasso
# or
brew tap justEstif/tap && brew install lasso

Setup

cd your-project
lasso setup                    # Pi (default)
lasso setup --harness opencode  # opencode
lasso setup --harness claude    # Claude Code

Creates .lasso/config.json, the harness adapter files, and .gitignore entries.

| Harness | Generated files | | ---------- | -------------------------------------------------------------------- | | pi | .pi/extensions/lasso.ts | | opencode | .opencode/plugins/lasso.ts | | claude | .claude/hooks/lasso-user-prompt-submit.ts, .claude/settings.json |

Observers

Two observers, both enabled by default.

Memory

Records project facts, decisions, preferences. Surfaces them as context on session start.

# record an observation (or pipe content via stdin)
lasso memory observe --content "User prefers Bun.write over node:fs"

# query stored memory
lasso memory context --query "file writes"

# consolidate observations into a reflection
lasso memory reflect --content "Prefer Bun native APIs for all IO"

# status + export
lasso memory status
lasso memory export

Observations are parsed into structured entries with priority (🔴 high, 🟡 medium, 🟢 low), categories, and optional temporal anchors ([ref:YYYY-MM-DD], [rel:+Nd]).

Lint

Detects recurring corrections in conversation. Proposes enforceable lint rules.

# scan needs a detector command (reads prompt stdin, writes JSON stdout)
lasso setup --detector-command "your-llm-detector"

# or pass per-scan
lasso lint scan --detector-command "your-llm-detector" --input transcript.txt

# triage results
lasso lint list
lasso lint show <id>
lasso lint accept <id>
lasso lint reject <id>
lasso lint defer <id>
lasso lint implement <id>
lasso lint export

Commands

lasso status              # combined observer status
lasso tui                 # interactive dashboard
lasso tui --once          # render one frame, exit
lasso doctor              # check setup health
lasso enable <observer>   # enable lint or memory
lasso disable <observer>  # disable lint or memory

Architecture

  • Storage: SQLite via bun:sqlite + Drizzle ORM. Project-local at .lasso/db.sqlite.
  • Search: FTS5 full-text search with BM25 ranking.
  • Observers: shared lifecycle — token budget gates → observe → persist progress.
  • CLI: thin Commander router → observer modules own registration + handlers.
  • Harness adapters: context injection per agent —
    • Pi: .pi/extensions/lasso.ts. Hooks: session_start, turn_end, before_agent_start, session_before_compact.
    • opencode: .opencode/plugins/lasso.ts. Hooks: chat.message, experimental.chat.system.transform.
    • Claude Code: .claude/hooks/lasso-user-prompt-submit.ts + .claude/settings.json. Hook: UserPromptSubmitadditionalContext.

Project resolution

Lasso walks upward from CWD to find .lasso/config.json. Override with LASSO_PATH:

LASSO_PATH=/path/to/project lasso status

Development

bun install
bun test                  # 100 tests
bunx tsc --noEmit         # type check
bunx eslint src/ tests/   # lint

Release

git tag v0.1.3
git push origin main --tags

GitHub Actions publishes to npm + updates Homebrew tap.