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

vizflow

v0.9.4

Published

VizFlow - A powerful visual workflow builder with 80+ nodes, API testing, and full execution engine. Build, test, and export automation workflows.

Readme

VizFlow

A powerful visual workflow builder with execution engine, API testing, and full request/response visibility. Build, test, and export automation workflows in the browser.

npm version License: MIT

Live Demo | Documentation

Features

Core Workflow Builder

  • Drag & Drop Interface - Intuitive node placement and connection drawing
  • 60+ SVG Icons - Beautiful, scalable vector icons for all node types
  • 80+ Pre-built Node Types - HTTP, API, Database, AWS, Docker, Slack, Email, and more
  • Custom Nodes - Create your own node types at runtime
  • Node Grouping - Group nodes together, collapse/expand groups
  • Dark/Light Themes - Built-in theme support

Workflow Execution

  • Real Execution Engine - Actually runs your workflows
  • HTTP Requests - Make real API calls with full request/response capture
  • Variable Interpolation - Use {{node_1.data}} or {{lastResult.field}}
  • Conditional Branching - Route flows based on conditions
  • Loops - Iterate over arrays
  • Code Execution - Run JavaScript code in nodes
  • State Persistence - Execution state auto-saves and restores on page reload

Debugging & Testing

  • Test Single Node - Right-click → "Test This Node Only"
  • Run From Node - Right-click → "Run Workflow From Here"
  • Full Execution Log - See every request/response with headers
  • Request Echo - See exactly what was sent
  • Response Headers - View all HTTP response headers
  • Expandable Details - Click log entries to see full JSON

Import/Export

  • JSON Export - Download workflows as JSON files
  • JSON Import - Load workflows from files
  • Includes Configs - Node configurations are preserved
  • Image Export - Export canvas as PNG

Installation

npm install vizflow

Quick Start

ES Modules (Recommended)

import { WorkflowBuilder, icons } from 'vizflow';
import 'vizflow/style.css';

const workflow = new WorkflowBuilder('#app', {
  theme: 'light',
  nodes: ['trigger', 'http', 'condition', 'email', 'slack', 'end']
});

// Run the workflow
workflow.runWorkflow();

UMD (Script Tag)

<link rel="stylesheet" href="https://unpkg.com/vizflow/dist/style.css">
<script src="https://unpkg.com/vizflow/dist/vizflow.umd.js"></script>

<div id="app"></div>

<script>
  const { WorkflowBuilder } = VizFlow;
  const workflow = new WorkflowBuilder('#app');
</script>

CommonJS

const { WorkflowBuilder } = require('vizflow');

Configuration Options

| Option | Type | Default | Description | |--------|------|---------|-------------| | theme | string | 'light' | 'light' or 'dark' | | nodes | array | All nodes | Node types to show in sidebar | | onChange | function | null | Callback when workflow changes | | onSave | function | null | Callback on export | | customNodes | object | {} | Custom node definitions |

Node Types

Core Workflow

| Node | Purpose | Inputs | Outputs | |------|---------|--------|---------| | trigger | Start workflow | 0 | 1 | | action | Generic action | 1 | 1 | | condition | If/else branch | 1 | 2 | | loop | For each item | 1 | 2 | | delay | Wait seconds | 1 | 1 | | end | End workflow | 1 | 0 |

HTTP & API

| Node | Purpose | |------|---------| | http | HTTP requests (GET, POST, PUT, DELETE) | | api | REST API with auth | | webhook | Incoming webhooks |

Communication

| Node | Purpose | |------|---------| | email | Send emails | | slack | Post to Slack |

Data & Code

| Node | Purpose | |------|---------| | code | Execute JavaScript | | transform | Transform data | | filter | Filter arrays | | database | SQL queries | | mongodb | MongoDB operations | | redis | Redis commands |

Cloud & DevOps

| Node | Purpose | |------|---------| | aws | AWS services | | lambda | AWS Lambda | | s3 | AWS S3 | | docker | Docker operations | | kubernetes | K8s resources | | github | GitHub API |

API Methods

Execution

// Run entire workflow
workflow.runWorkflow();

// Run single node (for testing)
workflow.runSingleNode(nodeId);

// Run from specific node
workflow.runFromNode(nodeId);

// Pause/Resume
workflow.pauseWorkflow();

// Stop execution
workflow.stopWorkflow();

// Reset execution state
workflow.resetWorkflow();

// Get execution state (for custom persistence)
const state = workflow.getExecutionState();

// Restore execution state
workflow.setExecutionState(state);

// Get execution log
const log = workflow.getExecutionLog();

// Get execution context (data between nodes)
const ctx = workflow.getExecutionContext();

Data

// Export workflow data
const data = workflow.export();

// Import workflow
workflow.import(data);

// Download as JSON file
workflow.exportWorkflow();

// Export as image
workflow.exportAsImage();

Node Configuration

// Get node config
const config = workflow.getNodeConfig(nodeId);

// Set node config
workflow.setNodeConfig(nodeId, {
  url: 'https://api.example.com',
  method: 'POST',
  headers: { 'Authorization': 'Bearer ...' }
});

Variable Interpolation

Use {{variable}} syntax to reference data from previous nodes:

// Reference last result
"{{lastResult.data.userId}}"

// Reference specific node
"{{node_1.data.email}}"

// In HTTP body
{
  "userId": "{{lastResult.data.id}}",
  "action": "approve"
}

Keyboard Shortcuts

| Shortcut | Action | |----------|--------| | Ctrl+Z | Undo | | Ctrl+Y | Redo | | Delete | Delete selected | | Ctrl+C | Copy | | Ctrl+V | Paste | | Ctrl+D | Duplicate | | Ctrl+A | Select all | | Ctrl+G | Group selected |

Documentation

| Document | Description | |----------|-------------| | EXAMPLES.md | Detailed walkthrough of every example workflow with diagrams, step-by-step explanations, and context variable reference | | DOCUMENTATION.md | Complete API documentation, node types, executors, and configuration options |

What's Next (Roadmap)

Client-Side (Coming Soon)

  • [ ] Workflow templates library
  • [ ] Copy/paste between workflows
  • [ ] Minimap improvements
  • [ ] Node search/filter

Requires Backend (Future)

  • [ ] Real webhook listeners
  • [ ] Scheduled execution (cron)
  • [ ] OAuth authentication flows
  • [ ] Persistent storage
  • [ ] Team collaboration
  • [ ] Error retry with backoff
  • [ ] Execution queue

Tech Stack

  • Frontend: Vanilla JS, Drawflow, Vite
  • Icons: 60+ custom SVGs
  • Styling: CSS variables, dark/light themes
  • Bundle Size: ~365KB ES, ~248KB UMD (gzipped: ~76KB / ~60KB)

Browser Support

  • Chrome 80+
  • Firefox 75+
  • Safari 13+
  • Edge 80+

License

MIT


VizFlow - Build, test, and visualize workflows in the browser.