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

n-get

v3.0.0

Published

Observable downloads for AI agents. NDJSON event stream, MCP server, OpenAPI spec, session visibility, HTTP + SFTP with resume.

Readme

𝐍̴̡͉̞̿͐͝-̸̺͙̦̄̄̽́͝𝐆̸͕̟̺̽͑̈́𝐄̸̢̦͖ͤͤ̾̀̕ᴛ̵͙̫͖ⷮ͒̈́

Downloads that agents can actually see. Structured NDJSON events, concurrent, resumable. HTTP/HTTPS + SFTP. 11 MCP tools. A2A 1.0.

Install

npm install -g n-get

Requires Node.js >= 22.0.0.

Quick start

# download a file
nget https://example.com/file.zip

# batch download
nget https://example.com/a.zip https://example.com/b.zip -d ./downloads

# HTTP API call — structured JSON, NDJSON events
nget fetch https://api.example.com/data.json

# pipe-friendly raw output
nget fetch --raw https://api.example.com/data.json | jq .

# stream a download to stdout
nget -o - https://example.com/data.json | jq .

# verify the download against an expected checksum
nget https://example.com/tool.tar.gz --expect sha256:9f86d081884c7d65...

# list all active download sessions
nget jobs

Verified downloads

--expect <algorithm>:<hex> compares the downloaded file against a checksum you supply — md5, sha1, sha256 or sha512.

On a mismatch the file is discarded, the command exits non-zero, and a download_error event carries code: "CHECKSUM_MISMATCH" with both digests. Leaving a file that failed its own integrity check where a later step would read it is worse than not checking at all.

This is what makes a download safe to run unattended: without it the tool can tell you a file's SHA-256, but not whether it is the file you asked for.

Restricting where downloads come from

# config/local.yaml
security:
  allowedDomains: [example.com, cdn.example.org]   # empty = allow all
  blockedDomains: [internal.corp]
  blockPrivateIpLiterals: true

blockPrivateIpLiterals blocks private addresses written as IP literals in the URL (127.0.0.1, 10.0.0.0/8, [::1]) plus the hostname localhost. It does not resolve hostnames, so a public name pointing at a private address is not caught.

n-get is not a network sandbox. Run it inside one.

MCP server

Add to Claude Desktop or any MCP-compatible host:

{
  "mcpServers": {
    "n-get": { "command": "nget-mcp" }
  }
}

11 tools: download_file, batch_download, get_jobs, get_capabilities, cancel_session, get_session, set_profile, get_history, get_instructions, fetch_http, get_agent_card.

For agents

nget instructions   # full agent guide (AGENTS.md)
nget --capabilities # capabilities document
nget --agent-card   # A2A 1.0 agent card

License

MIT