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

@blanklogic/refinery

v0.2.6

Published

Clean context before AI sees it — Refinery CLI for de-bloat and secret redaction (local, no upload).

Readme

@blanklogic/refinery

Local CLI that de-bloats code and redacts secrets before AI agents see them.

Use it from the terminal, in CI, or as the engine behind the VS Code extension and MCP server. No BlankLogic account required for local use.

What's new in 0.2.6

  • Opt-in aggregate telemetry after each run (bytes saved, secrets redacted — never input text). Disable with BLANKLOGIC_CLI_TELEMETRY=0.

What's new in 0.2.5

  • Coordinated release — @blanklogic/[email protected] aligned with MCP and Proxy.
  • Prefer Refinery web app for zero-install; CLI for pipes and CI.
  • 512 KB max input · commands: debloat, sanitize, clean.

Saved tokens or caught a secret?

If BlankLogic trimmed noise, redacted secrets, or cut token waste for you, a quick review helps others find it:

Install

npx @blanklogic/refinery clean -

Global install:

npm install -g @blanklogic/refinery
refinery clean ./input.html

Quick start

# Clean stdin (paste HTML, logs, or code, then Ctrl+D)
npx @blanklogic/refinery clean -

# Clean a file
refinery clean ./examples/sample.html

# JSON output with stats
refinery clean ./examples/sample.html --format json

Commands

| Command | What it does | |---------|----------------| | refinery debloat <file\|-> | Remove tracker scripts, comments, and boilerplate | | refinery sanitize <file\|-> | Redact obvious secrets; compact for LLM context | | refinery clean <file\|-> | De-bloat, then sanitize (recommended) |

Stats in text mode go to stderr so stdout stays pipe-safe:

refinery sanitize .env --stats

Who this is for

  • Developers cleaning snippets before pasting into ChatGPT, Claude, or Cursor
  • Scripts and CI gates that strip secrets from artifacts
  • Power users who prefer terminal workflows over IDE extensions

Related BlankLogic tools

| Product | Link | |---------|------| | Web app | blanklogic.io/refinery | | VS Code / Cursor extension | VS Marketplace · Open VSX | | MCP server | @blanklogic/refinery-mcp | | AI cost proxy | @blanklogic/proxy | | Core engine | @blanklogic/refinery-core |

Cloud credits (optional)

Local CLI runs stay unlimited on your machine. When you need server-side cleanup (larger payloads, Cloud Refine, or Cloud AI), use the Refinery web app:

blanklogic.io/refinery/#cloud-credits — Beta Token Pack ($5 / 500 runs) or Founder pass ($50).

Privacy

The CLI runs entirely on your machine. It does not call Stripe, BlankLogic servers, Ollama, or third-party APIs for local commands. Cloud credits apply only to the web flow linked above.

Support