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

@reqray/cli

v0.1.1

Published

Reqray from the terminal: a live request stream and a full breakdown of one request.

Readme

@reqray/cli

Reqray from the terminal: a live stream of requests, and one request in full — waterfall, findings with the line of code, the response. A client of the same API the web panel uses, so there is nothing to configure in the application.

Part of Reqray — a dev panel and request inspector for Node.js. It instruments HTTP, SQL, outgoing calls and cache on its own, shows every request as a waterfall, and finds N+1 down to the file and the line.

Use

$ npx @reqray/cli watch --slower-than 100
reqray 0.1.0   watching localhost:3000   pid 41822   ctrl-c to stop

   TIME         METHOD ST  PATH                               DUR    Q FLAGS
   09:41:03.077 POST   201 /api/orders                      118ms   9q
!  09:42:10.184 GET    200 /api/orders                      512ms  51q N+1
!! 09:43:02.184 POST   500 /api/orders                      2.14s  12q ERR
   └ TypeError: Cannot read properties of undefined (reading 'currency')
     services/pricing.js:61
reqray show --last --failed     # the last request that failed, whole
reqray show --last --path /orders
reqray show <id> --sql          # every query, wrapped rather than cut

Commands

| | | |---|---| | reqray watch | Follow requests as they happen. --slower-than <ms>, --status, --method, --path <s>, --findings-only, --ids | | reqray show <id> | One request. Or pick it by question: --last, --last --failed, --last --slowest, --last --path <s>. --sql, --body, --full, --json |

| Flag | | |---|---| | --url <address> | Where the panel is. Default http://localhost:3000/_reqray; also REQRAY_URL | | --token <token> | For a collector started with one; also REQRAY_TOKEN | | --no-color, --ascii | No escape codes; no box-drawing characters | | --verbose | Print what actually failed |

Severity is a glyph in the first two columns, not a colour, so a pipe, a CI log and NO_COLOR lose nothing. Exit codes: 0, 1 for a failure or a collector that cannot be reached, 2 for bad arguments.

A collector on another machine is an ordinary URL: forward its port over ssh and pass --url.

More

Everything else — the detectors, security defaults, measured overhead and a demo that runs with one command — is in the main README.

License

MIT