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

@pilaniaanand/consolio

v0.3.0

Published

Lightweight, project-isolated API testing tool — a fast Postman alternative

Readme

⚡ consolio

Lightweight, project-isolated API testing tool. Runs as npx — no install needed. ~30MB RAM.


Quick start

# Run immediately — no install needed
npx @pilaniaanand/consolio

# Or install globally
npm install -g @pilaniaanand/consolio
consolio

Opens at http://localhost:4242.


Project isolation

cd my-project
npx consolio init --name "My API"
npx consolio          # auto-detects .consolio/ in current dir

Commit .consolio/collections/ and .consolio/environments/ to share with your team. History is gitignored automatically.


Scripts

npm install        # install everything (server deps + UI devDeps) in one shot

npm start          # production: serves dist/ at http://localhost:4242
npm run build      # compile ui/ → dist/  (run once after clone, or after UI changes)

npm run dev        # development: API server on :4242 + Vite HMR on :5173
                   # both start simultaneously, logs colour-coded (cyan = api, yellow = ui)
                   # edit anything in ui/ and the browser updates instantly

After cloning:

npm install && npm run build && npm start

Development workflow

npm run dev starts two processes via concurrently:

| Process | Port | Description | | --------------- | ------- | ----------------------------------------------- | | API server | :4242 | Fastify — handles all /api/* and /ws | | Vite dev server | :5173 | React HMR — proxies /api and /ws to :4242 |

Open http://localhost:5173 for hot-reload development. The server at :4242 is API-only in dev mode — it redirects / to Vite.

Environment variable: CONSOLIO_DEV=true puts the server in API-only mode (set automatically by npm run dev).


Browser interceptor

  1. Open chrome://extensions/ → enable Developer Mode
  2. Click Load unpacked → select the extension/ folder
  3. Click the consolio icon in your Chrome toolbar
  4. Toggle Capture requests ON
  5. Intercepted requests appear in the Tap sidebar tab

Filter rules (blacklist / whitelist)

In the Tap tab, set a mode and add rules:

  • Blacklist (default) — block requests matching any rule. Good for filtering analytics/CDN noise.
  • Whitelist — capture only requests matching at least one rule. Good for isolating one API domain.

Per rule: Target (URL / Host / Method / Content-Type) × Mode (contains / starts with / ends with / exact / regex). Rules persist in localStorage.


Pre/post request scripts

// Pre-request tab — runs before the request is sent
consolio.setVariable('ts', Date.now())

// Post-response tab — runs after the response arrives
const body = JSON.parse(response.body)
consolio.setVariable('token', body.access_token)
consolio.log('Got token:', body.access_token)

API: consolio.log(...args) · consolio.setVariable(key, value) · consolio.getVariable(key) Context: request (method, url) · response (status, body, headers, elapsed) · environment


Customise layout

Click in the topbar:

  • Drag panels to reorder
  • Toggle panel visibility
  • Resize with sliders, or drag the dividers in the main UI
  • Presets: Default · Focus Request · Focus Response · No Sidebar

Preferences persist in localStorage.


CLI

consolio                      # start server (port 4242)
consolio start --port 8080    # custom port
consolio start --no-open      # don't auto-open browser
consolio init                 # initialise project (.consolio/)
consolio init --name "My API"
consolio --version
consolio --help

License

MIT