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

reqweave

v0.1.0

Published

Read your service code; generate ready-to-import API collections for every testing tool (Postman, OpenAPI, Insomnia, Bruno, Hoppscotch, Thunder Client, .http) with exhaustive request variants.

Readme

reqweave

Read your service code; get ready-to-import API collections for every testing tool — with exhaustive request variants per endpoint.

reqweave statically analyzes a service codebase and generates native, ready-to-import collections for Postman, OpenAPI 3.1, Insomnia, Bruno, Hoppscotch, Thunder Client, and .http — covering not one request per endpoint, but a curated-yet-thorough set of request variants (happy path, all-optional, boundary/invalid values, one per response status, unauthorized). No more hand-building API requests, and no more collections drifting from code.

One source in → importable collections for every tool out.

[!NOTE] Status: functional for ASP.NET Core (REST + minimal APIs), Node/TypeScript (NestJS + Express), Python (FastAPI + Flask), and Java (Spring Boot). Build-mode reconciliation, OpenAPI import, and prebuilt SDK-free analyzer binaries are in. A Go analyzer is next on the roadmap. See the design spec and implementation plan.

Quick start

# all tools, standard depth, into ./reqweave-out
npx reqweave generate ./path/to/service --out ./reqweave-out --tools all --depth standard

Then import the generated files into your tool and start hitting the API.

./reqweave-out/
  postman/<svc>.postman_collection.json  (+ environment)
  openapi/<svc>.openapi.json
  insomnia/<svc>.insomnia.json
  bruno/  (bruno.json + *.bru + environments/Local.bru)
  hoppscotch/, thunder-client/  (collection + environment)
  http/<svc>.http  (+ http-client.env.json)

Commands

| Command | Purpose | |---|---| | reqweave generate <path> | Generate collections. Flags: --lang auto\|dotnet\|ts\|py\|java, --out, --tools all\|a,b, --depth minimal\|standard\|exhaustive, --base-url, --service, --build, --build-openapi FILE, --openapi FILE, --strict, --ir FILE. | | reqweave list-endpoints <path> | List discovered endpoints. | | reqweave inspect <path> <id> | Show the variants for one endpoint (with provenance). |

Variant depth

  • minimal — happy path only.
  • standard (default) — happy path, all-optional, unauthorized (401) for [Authorize], one per declared error status, min/max boundaries.
  • exhaustive — adds pairwise over optional-param presence and per-enum-member variants. Capped (reported in notes — never silent).

Consumption surfaces

  • CLI / npmnpx reqweave … (above).
  • MCP serverreqweave-mcp (stdio): tools list_endpoints, generate_collection, explain_variants for any MCP-capable agent.
  • Agent Skillskills/reqweave/ (progressive disclosure) for Claude and other agents.
  • Claude marketplace plugin.claude-plugin/.

Requirements

  • Node.js ≥ 20 for the CLI/MCP.
  • For analyzing .NET source: either a prebuilt analyzer binary (no SDK) or the .NET SDK. Resolution order:
    • --ir <file> / --openapi <file> — use an existing IR / OpenAPI doc (no analyzer at all).
    • REQWEAVE_ANALYZER — an explicit analyzer binary/dll you point at.
    • Prebuilt, per-OS package @reqweave/analyzer-<platform>-<arch> — a self-contained native binary installed automatically (as an optional dependency, os/cpu-gated) and checksum-verified before it runs. No .NET SDK needed.
    • The .NET SDK (dotnet run the analyzer) — the dev/source fallback.
  • For analyzing Node/TypeScript source (NestJS/Express): nothing extra — analysis runs in-process via the bundled typescript parser. No SDK, no code execution.
  • For analyzing Python source (FastAPI/Flask): nothing extra — a dependency-free, in-process reader. No Python runtime, no code execution.
  • For analyzing Java source (Spring Boot): nothing extra — a dependency-free, in-process reader. No JVM/JDK, no code execution.

Design principles

  • No code execution by default — static read; --build is opt-in.
  • No network, no telemetry — your code stays local.
  • Never leak secrets{{placeholders}} + env templates with blank secret slots + a redaction pass.
  • Deterministic — byte-stable output for clean diffs.

Architecture

A .NET (Roslyn) analyzer reads the codebase and emits a versioned, tool- agnostic Universal IR. A TypeScript core consumes that IR and owns the variant engine, all exporters, the CLI, and the MCP server — so each future language analyzer is a drop-in that emits the same IR.

codebase ─► reqweave-analyzer (.NET/Roslyn) ─► Universal IR (JSON) ─► variant engine ─► exporters ─► every tool

Development

npm install        # builds dist/ via the prepare hook
npm run build      # tsc
npm test           # vitest

dotnet test analyzer/test/Reqweave.Analyzer.Tests   # .NET analyzer

License

MIT