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

@flowgame/vue

v0.1.10

Published

FlowGame workflow editor Vue 3 components

Readme

FlowGame 在 Tinyflow 画布之上,面向 AI 工作流 提供 Vue 3 可视化编排组件。在 Tinyflow 拖拽体验基础上,扩展 Start API、模型调用、知识库+、记忆读写、HTML 模板等节点;配合 flowgame_python 后端完成试运行、Redis 持久化与 Qdrant 检索。

特性

  • 🎨 开箱即用

    <FlowEditor /> 一行接入,内置流程列表、知识库配置、节点详情面板与试运行入口。

  • 🧩 高可定制

    基于 @flowgame/core 注册自定义节点与画布补丁;通过 Props / 事件 / Expose 扩展业务 UI。

  • 🔌 前后端分离

    前端负责编排与展示;执行、保存、向量检索由 Python 后端(FastAPI + Redis + Qdrant)提供。

  • 📦 npm 友好

    @flowgame/core@tinyflow-ai/ui@arco-design/web-vue 配合,适用于 Vite / Vue 3 项目。


安装

pnpm add @flowgame/vue @flowgame/core @tinyflow-ai/ui @arco-design/web-vue vue

快速开始

main.ts

import { createApp } from 'vue'
import ArcoVue from '@arco-design/web-vue'
import '@arco-design/web-vue/dist/arco.css'
import '@tinyflow-ai/ui/dist/index.css'
import '@flowgame/vue/style.css'
import { configureFlowGameClient } from '@flowgame/core'
import App from './App.vue'

configureFlowGameClient({
  baseURL: '/api',
  onError: (msg) => alert(msg)
})

createApp(App).use(ArcoVue).mount('#app')

App.vue

<script setup lang="ts">
import { FlowEditor } from '@flowgame/vue'
</script>

<template>
  <div class="flow-editor-host">
    <FlowEditor />
  </div>
</template>

<style>
html, body, #app { margin: 0; height: 100%; overflow: hidden; }
</style>

vite.config.ts(开发环境代理后端,默认 8008

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

export default defineConfig({
  plugins: [vue()],
  server: {
    proxy: {
      '/api': { target: 'http://127.0.0.1:8008', changeOrigin: true }
    }
  }
})

FlowEditor API

| 类型 | 名称 | 说明 | |------|------|------| | Prop | readonly | 只读查看 | | Prop | flow-name / redis-key | 从 Redis 加载流程 | | Prop | builtin-business-modals | 内置流程列表/知识库弹窗(默认 true) | | Event | saved | 保存成功 | | Event | executed | 试运行结束 | | Expose | getWorkflow() | 当前工作流 JSON |

完整文档见 GitHub README

许可

Apache License 2.0