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

koh-cli

v0.3.5

Published

Agent-friendly CLI for managing Insomnia data

Downloads

307

Readme

Koh

Koh is an agent-friendly interface to Kong Insomnia, allowing tools like Claude Code or Codex to interact directly and deterministically with collections, requests, OpenAPI specs and other things stored in Insomnia.

Get Started

Install

npm install -g koh-cli

Usage

koh <command> [options] --project <path>

--project points to a directory containing Insomnia v5 YAML files (files whose first line contains insomnia.rest). Defaults to the current directory. Git projects only for now (see Roadmap and Limitations).

For more, see Detailed Usage below.

Learn More

Development State

This CLI is currently in Tech Preview (i.e. Alpha). This means that we are in the early stages of development: it is safe to use, but not recommended for production or mission-critical situations or deployments. The CLI or any part of it is subject to change or removal at any time, at Insomnia's sole discretion.

Though the long term vision is to replace and enhance the existing Inso CLI over the next 6-12 months or more, Koh does not currently offer feature parity with Inso. Similarly, Koh does not yet offer access to all Insomnia functionality. We are in active development through Q3 2026, but no specific timeline is yet available for parity with Inso or Insomnia.

Roadmap and Limitations

A list of things Koh does not yet support, in roughly the order we hope to address them.

  • Only supported in Git Sync projects. Local and Cloud support is planned soon.
  • Does not offer access to secrets, authentication, native vault integrations or other secure content.
  • Only works on "files" inside Insomnia (collections, specs, etc). Cannot be used for:
    • Administration tasks like inviting users
    • Configuration tasks like creating projects
  • See the Risks portion of this document.

Risks

By using Koh you accept sole responsibility for these risks:

  • Like many developer tools, Koh currently runs with the same permissions and identity as the person using it. You should be aware of what it may have access to or allow an agent/LLM to do.
  • LLMs are non-deterministic and may hallucinate or create unpredictable results. Review results carefully before relying on them. Koh is a "dumb pipe" — it does no thinking and contains no AI itself.

Detailed Usage

Collections

koh collection list
koh collection show <id|name>
koh collection create --name <name> [--description <desc>] [--file-path <path>]
koh collection update <id|name> --name <name>
koh collection remove <id|name>

Requests

koh request list [--collection <id|name>]
koh request show <id|name> [--collection <id|name>]
koh request create --name <name> [--collection <id|name>] [--parent <id>] [options]
koh request update <id|name> [--collection <id|name>] [options]
koh request remove <id|name> [--collection <id|name>]

--collection scopes the operation to a single collection file. Required for create when --parent is a folder ID rather than a collection ID.

Import

koh import oas collection <file> [--target <id|name>]
koh import oas document <file> [--target <id|name>]
koh import curl --from-file <path> --collection <id|name>
koh import curl - --collection <id|name>                     # read from stdin
koh import curl '<curl>' --collection <id|name> [--name <name>]
  • import oas collection generates collection requests from the OAS.
  • import oas document stores the OAS under spec.contents and generates matching requests inside the document.
  • With --target, the CLI updates the matching resource by ID or exact name, or creates a resource with that name when no match exists.
  • import curl parses a cURL command string and creates a single request in an existing collection.

Global options

| Flag | Description | | ------------------ | ------------------------------------------ | | --project <path> | Project directory (default: cwd) | | --agent | Output structured JSON (for LLM/agent use) | | --verbose | Show debug logs | | -v, --version | Show version |

Agent output

Pass --agent to get structured JSON responses:

{ "data": { ... } }
{ "error": "Collection not found: My API" }

Feedback

Your feedback is critical to how we develop this CLI. Please create issues or discussions in the Insomnia GitHub repo to share your feedback.

Versions

Version 0.3 — June 24, 2026

  • First public release.
  • Support for collections, requests and Open API Specs.
  • Support for Import.