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

httpwut

v1.0.1

Published

HTTP request debugger. Why isn't my request working? This tool answers that.

Readme

httpwut

HTTP request debugger. "Why isn't my request working?" — this tool answers that.

Install

npm install -g httpwut

Usage

# Simple GET request with full debug info
httpwut https://api.example.com/users

# POST request
httpwut https://api.example.com/users -X POST -d '{"name":"test"}'

# With headers
httpwut https://api.example.com -H "Authorization: Bearer token123"

# Show only specific parts
httpwut https://api.example.com --headers-only
httpwut https://api.example.com --body-only
httpwut https://api.example.com --status-only

# Follow redirects (show chain)
httpwut https://example.com --follow
httpwut https://example.com -L

# Show timing breakdown
httpwut https://api.example.com --timing

# Compare two endpoints
httpwut https://api.example.com/v1 --compare https://api.example.com/v2

# Test multiple status codes
httpwut https://api.example.com --expect 200
httpwut https://api.example.com -e 200,201,204

# Save response
httpwut https://api.example.com --output response.json
httpwut https://api.example.com -o response.json

# Verbose mode (show everything)
httpwut https://api.example.com -v

# Help
httpwut --help

Options

| Option | Description | |--------|-------------| | -X, --method | HTTP method (GET, POST, PUT, DELETE) | | -H, --header | Add header (can use multiple) | | -d, --data | Request body | | -o, --output | Save response to file | | -e, --expect | Expected status codes | | -L, --follow | Follow redirects | | -v, --verbose | Show everything | | --headers-only | Show only headers | | --body-only | Show only body | | --status-only | Show only status | | --timing | Show timing breakdown | | --compare | Compare with another URL | | --insecure | Skip SSL verification | | --timeout | Request timeout in ms |

Output

$ httpwut https://api.github.com/users/octocat

  httpwut — bruh.tools
  ────────────────────
  GET https://api.github.com/users/octocat

  STATUS
  ──────
  200 OK ✓

  TIMING
  ──────
  TTFB:           ████████░░  123ms
  Download:       ██░░░░░░░░   33ms
  ──────────────────────────────────
  Total:                      156ms

  HEADERS
  ───────
  content-type: application/json; charset=utf-8
  cache-control: public, max-age=60
  ...

  BODY
  ────
  {
    "login": "octocat",
    "id": 583231,
    "type": "User"
  }

Error Messages

httpwut gives you helpful error messages:

$ httpwut https://localhost:9999
  bruh. nothing is listening on that port. is your server running?

$ httpwut https://notarealsite.invalid
  bruh. DNS lookup failed. check the hostname.

$ httpwut https://api.example.com/secret
  STATUS
  ──────
  401 Unauthorized ✗

  bruh. unauthorized. missing or bad auth credentials.

License

MIT


bruh.tools - no cap fr fr