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.0.1

Published

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

Downloads

138

Readme

⚡ consolio — Lightweight API Testing Tool

A fast, project-isolated Postman alternative. Runs as an npx package — no installation bloat, no licensing, ~30MB RAM.

Why consolio?

| | Postman | Apidog | consolio | | ------------------- | ---------- | ---------- | ------------------------ | | RAM Usage | ~300MB | ~400MB | ~30MB | | Disk (installed) | 400MB | 1GB+ | <15MB | | Project isolation | Workspaces | Workspaces | .consolio/ in repo | | Offline | ✓ | ✓ | | | License required | Yes | Freemium | MIT / Free | | Browser interceptor | Extension | Extension | ✓ Extension included | | npx support | ✗ | ✗ | |


Quick Start

# Run immediately — no install
npx consolio

# Or install globally
npm install -g consolio
consolio

Opens at http://localhost:4242 automatically.


Project Isolation

Initialize consolio in any project to store collections alongside your code:

cd my-api-project
npx consolio init --name "My API Project"

This creates:

my-api-project/
└── .consolio/
    ├── config.json              # Project settings
    ├── collections/
    │   └── example.json         # Your API collections
    ├── environments/
    │   └── development.json     # Environment variables
    └── history/                 # Request history (gitignored)

Commit .consolio/collections/ and .consolio/environments/ to share API collections with your team. History is auto-gitignored.

Then run:

npx consolio        # Auto-detects .consolio/ in current dir

Features

✅ Request Builder

  • All HTTP methods: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
  • Query params, headers with enable/disable toggles
  • Body: JSON, form-encoded, plain text, raw
  • Auth: Bearer token, Basic auth, API key (header/query)

✅ Environment Variables

  • Multiple environments (Development, Staging, Production)
  • Use {{VAR_NAME}} syntax in URLs, headers, body
  • Variables stored per-project in .consolio/environments/

✅ Collections

  • Organize requests into collections
  • Collections stored as readable JSON — version control friendly
  • Expandable tree view in sidebar

✅ Request History

  • Last 200 requests auto-saved
  • Click any history entry to reload the request + response
  • Stored in .consolio/history/ (gitignored)

✅ Response Viewer

  • Syntax-highlighted JSON
  • Response headers table
  • Status code, timing (ms), size
  • Copy response body

✅ Browser Interceptor

Install the Chrome extension to capture API calls made by any website:

  1. Go to chrome://extensions/ → Enable Developer mode
  2. Click Load unpacked → select the extension/ folder in this repo
  3. Click the consolio icon → toggle Capture requests on
  4. Browse any website — requests appear in consolio's Tap sidebar
  5. Click any intercepted request to load it into the builder

CLI Reference

consolio                        # Start server (default port 4242)
consolio start --port 8080      # Custom port
consolio start --no-open        # Don't auto-open browser
consolio init                   # Initialize project
consolio init --name "My App"   # Initialize with project name
consolio --help                 # Show help
consolio --version              # Show version

Tech Stack

  • Runtime: Node.js 18+ (ESM)
  • Server: Fastify — fastest Node.js HTTP framework
  • UI: Single-file React 18 (CDN) + custom CSS — no build step
  • Storage: JSON files (zero dependencies, human-readable)
  • WebSocket: ws — for real-time interceptor relay

Data Format

Collections are plain JSON — easy to read, diff, and merge:

{
  "id": "col_abc123",
  "name": "User API",
  "requests": [
    {
      "id": "req_def456",
      "name": "Get Users",
      "method": "GET",
      "url": "{{BASE_URL}}/users",
      "headers": [
        { "key": "Authorization", "value": "Bearer {{TOKEN}}", "enabled": true }
      ],
      "params": [],
      "body": { "type": "none" },
      "auth": { "type": "none" }
    }
  ]
}

Development

git clone ...
cd consolio
npm install
node bin/consolio.js         # Run directly

License

MIT