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

@enumura/chatbot-flow-editor

v0.1.2

Published

Visual chatbot flow editor - Development tool for creating conversational flows

Downloads

122

Readme

Chatbot Flow Editor

Visual development tool for creating chatbot conversation flows

A GUI tool that opens in your browser. Design, test, and export chatbot conversation flows as JSON.

Quick Start

# Install as development dependency
npm install --save-dev @enumura/chatbot-flow-editor

# Launch the visual editor
npx @enumura/chatbot-flow-editor

Your browser will automatically open with the visual flow editor at http://localhost:3001.

Installation & Usage

Method 1: Using npx

npm install --save-dev @enumura/chatbot-flow-editor
npx @enumura/chatbot-flow-editor

Method 2: Add to your project scripts

Add to your package.json

{
  "scripts": {
    "design-flows": "chatbot-flow-editor"
  }
}

Then run

npm run design-flows

Method 3: Global installation

npm install -g @enumura/chatbot-flow-editor
chatbot-flow-editor

Usage

Starting the Editor

# Default (opens on http://localhost:3001)
chatbot-flow-editor

# Custom port
PORT=4000 chatbot-flow-editor

Available Commands

chatbot-flow-editor start    # Start the editor (default)
chatbot-flow-editor help     # Show help
chatbot-flow-editor version  # Show version

How to Use

  1. Launch: Run npx @enumura/chatbot-flow-editor
  2. Create Nodes: Click "Add Node" to create conversation points
  3. Edit Content: Click any node to modify its content and options
  4. Test Flow: Use the chat preview to simulate user interactions
  5. Export JSON: Download your flows as structured JSON files
  6. Import Flows: Load existing JSON flows to continue editing

Development Workflow

# In your chatbot project directory
npm install --save-dev @enumura/chatbot-flow-editor

# Design your conversation flows
npx @enumura/chatbot-flow-editor

# Export the flow as JSON
# → Use the exported JSON in your chatbot application

JSON Structure

When you export a flow, you'll get a JSON structure like

[
  {
    "id": 1,
    "title": "Welcome to our support!",
    "options": [
      { "label": "Technical Support", "nextId": 2 },
      { "label": "Billing Questions", "nextId": 3 }
    ]
  }
]

Integration

The exported JSON can be used in any chatbot implementation

// Load your exported flow
import flow from './chatbot-flow.json';

// Basic navigation example
function findNodeById(nodeId) {
  return flow.find(node => node.id === nodeId);
}

function processUserChoice(currentNodeId, userChoice) {
  const currentNode = findNodeById(currentNodeId);
  const selectedOption = currentNode.options.find(opt => 
    opt.label === userChoice
  );
  return selectedOption ? selectedOption.nextId : null;
}

Screenshots

Chatbot Flow Editor Interface

Workflow

  1. Design Phase: Use the visual editor to create conversation flows
  2. Test Phase: Try different conversation paths with the live preview
  3. Export Phase: Download your flow as structured JSON
  4. Integration Phase: Use the JSON in your chatbot application

Requirements

  • Node.js 20.0.0 or higher

Development

git clone https://github.com/enumura1/chatbot-flow-editor.git
cd chatbot-flow-editor
npm install
npm run dev

License

This project is licensed under the MIT License.

See the LICENSE file for details.

Documentation

Support