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

killm

v1.0.5

Published

Temporarily block your machine from reaching LLM services to curb AI dependency. npx killm for 1h --agents

Downloads

677

Readme

killm

Temporarily block your machine from reaching LLM services, to curb AI dependency. Shamelessly written with AI.

npx killm for 1h --agents      # no coding agents for an hour
npx killm 30m --web            # no chat websites for 30 minutes
npx killm for 2h --all         # cut everything off for two hours

Run

npx killm for 1h --agents

Editing the hosts file needs elevated privileges:

  • macOS / Linux: prefix with sudosudo npx killm for 1h --agents
  • Windows: run from an Administrator terminal

Agents vs. Web

The whole point of killm is that an agentic coding tool and a chat website talk to different hostnames, so you can cut one without losing the other:

| Tool | Hostname | Scope | | --------------------------- | ------------------- | ---------- | | Claude Code, Aider, raw API | api.anthropic.com | --agents | | Claude chat website | claude.ai | --web | | OpenAI API, Codex | api.openai.com | --agents | | ChatGPT website | chatgpt.com | --web |

So:

  • --agents blocks API endpoints and dedicated coding-assistant backends.
  • --web blocks the consumer chat websites (claude.ai, chatgpt.com, gemini.google.com, perplexity.ai, etc).
  • --all blocks both. This is the default if you don't pass a scope.

Usage

npx killm for <duration> [scope] [options]
npx killm <duration> [scope] [options]

The word for is optional sugar — killm for 1h --agents and killm 1h --agents are identical.

Duration

Combine units d / h / m / s:

90s    30m    1h    1h30m    2d

A bare number is treated as minutes (45 = 45m).

Scope

| Flag | Blocks | | ---------- | ---------------------------------------- | | --agents | Agentic coding tools + raw API endpoints | | --web | Consumer chat websites | | --all | Both (default) |

You can combine --agents and --web; that's the same as --all.

Options

| Option | Effect | | ----------------- | ------------------------------------------------ | | --firewall | Also block current IPs at the OS firewall | | --restore | Lift any active block right now and exit | | --status | Report whether a block is currently active | | --list | Print the hostnames a given scope would block | | --dry-run | Show what would change without touching anything | | -y, --yes | Skip the confirmation prompt | | -h, --help | Show help | | -v, --version | Show version |

Examples

npx killm for 1h --agents          # coding agents off for an hour
npx killm 30m --web                # chat websites off for 30 minutes
npx killm for 2h --all             # everything off for two hours
npx killm --list --agents          # see exactly what --agents blocks
npx killm for 25m --web --dry-run  # preview, change nothing
npx killm --restore                # end an active block early
npx killm --status                 # is a block running right now?

Firewall mode (--firewall)

The hosts file only intercepts name resolution, so a browser with Secure DNS enabled bypasses it. --firewall closes that hole: in addition to the hosts entries, killm resolves each target hostname to its current IPs and blocks those at the OS firewall:

sudo npx killm for 1h --web --firewall
  • Linux: iptables / ip6tables OUTPUT rules, tagged with a killm comment
  • Windows: one outbound Windows Firewall rule named killm (via netsh)
  • macOS: a pf anchor named killm

Rules are removed together with the hosts block (timer, Ctrl+C, or killm --restore — which also sweeps up rules left behind by a crash, since they're all tagged).

License

MIT © Aidan Neel