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

@junixlabs/apiflow

v1.0.0

Published

Visual API flow testing tool. Build flows, chain requests, test assertions. Local-first, git-friendly, open source.

Readme

API View

Visual API flow testing tool. Build flows, chain requests, test assertions. Local-first, git-friendly, open source.

The only API testing tool where you can see how your APIs connect.

Quick Start

# Clone and run
git clone https://github.com/junixlabs/apiflow.git
cd apiflow
npm install
npm run dev

Opens at http://localhost:5173 with proxy on port 3001.

Features

Visual Canvas - Drag-and-drop API nodes on an infinite canvas. See how endpoints connect at a glance.

Chain Responses - Use {{nodes["Get User"].response.body.id}} to pass data between requests automatically.

Test Assertions - Status codes, body content, JSONPath matching, header checks. Green/red badges on canvas.

Import Anything - Paste cURL, drop an OpenAPI spec, or import a Postman collection.

Conditional Branching - If/else nodes: route flow based on response status or body content.

Loop/Pagination - Iterate through paginated APIs automatically.

Per-Node Auth - Bearer Token, Basic Auth, or API Key per endpoint. Mix auth schemes in one flow.

Endpoint Library - Configure once, reuse everywhere. Drag from library into any flow.

Project Storage - .apiview files are JSON. Commit alongside code. Share via git.

Multiple Environments - Switch between Local, Staging, Production with one click.

Step-by-Step Execution - Run flow level by level. Inspect between steps.

Response Diff - Compare consecutive runs to spot changes.

Request History - Browse last 10 runs per node.

Dark/Light Theme - Toggle in toolbar.

Export - PNG, SVG, Postman collection, cURL commands.

Dashboard - Batch run all flows, see pass/fail overview.

MCP Server - Connect to Claude Code for AI-powered flow building.

Laravel Analyzer - Auto-generate flows from Laravel routes and controllers.

Usage

Development

npm run dev          # Start web UI + proxy
npm run dev:mcp      # Start MCP server for Claude Code
npm run build        # Production build

With a project

npm start -- --project=/path/to/your/api-project

Flows are stored in your-project/.apiview/flows/ and can be committed to git.

MCP Server (Claude Code)

claude mcp add api-view -- npx tsx /path/to/api-view/src/mcp/server.ts

Then ask Claude: "Create a flow for my API endpoints" or "Run the deploy flow".

Laravel Analyzer

Copy the skill to your project:

cp -r skills/api-flow-analyzer /your-project/.claude/skills/

Then ask Claude: "Analyze this Laravel project and generate API flows".

Architecture

src/
  core/          Pure TypeScript engine (no React)
  components/    React UI components
  store/         Zustand state management
  engine/        UI-to-core bridge
  mcp/           MCP server for Claude Code
  hooks/         React hooks
  utils/         Utilities

proxy/           Express CORS proxy + file API
skills/          Claude Code skills

Tech Stack

  • React 19 + @xyflow/react 12 (canvas)
  • Zustand 5 (state)
  • Tailwind CSS 4 (styling)
  • Vite 8 (build)
  • TypeScript 5.9
  • Lucide React (icons)
  • Express 5 (proxy)
  • @modelcontextprotocol/sdk (MCP)

.apiview File Format

{
  "version": 2,
  "metadata": { "name": "My Flow", "createdAt": "...", "updatedAt": "..." },
  "nodes": [...],
  "edges": [...],
  "assertions": { "node_id": [...] }
}

Environments are stored separately in .apiview/environments/.

License

MIT