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

@guoquan.net/flow-engine

v0.2.0

Published

A high-performance, WebGPU-based digital human engine.

Downloads

431

Readme

Flow (服喽) 🌊

@guoquan.net/flow-engine

CI codecov Deploy to GitHub Pages npm version License: MIT

English | 中文


English

"Flow: Convincing at first breath."

Flow is a high-performance, lightweight web-based digital human engine based on WebGPU.

📦 Installation

This package is distributed under two different scopes depending on the registry:

Stable Versions (Recommended)

From NPM Registry:

npm install @guoquan.net/flow-engine

From GitHub Packages Registry: Add a .npmrc file to your project:

@guoquan:registry=https://npm.pkg.github.com

Then install:

npm install @guoquan/flow-engine

Note: The naming difference (@guoquan.net on NPM vs @guoquan on GitHub) is due to account scope requirements on each platform.

Development / Latest Version

Install directly from the GitHub repository. You can specify a branch, tag, or commit hash using the # prefix:

# Latest from main branch
npm install github:guoquan/flow-engine

# Specific branch
npm install github:guoquan/flow-engine#develop

# Specific tag
npm install github:guoquan/flow-engine#v0.1.9

# Specific commit hash
npm install github:guoquan/flow-engine#7834b6c

🌟 Highlights

  • Modern Rendering: Based on WebGPU for next-gen performance and visual quality.
  • Data-Driven: Animation and behavior fully controlled via JSON configuration.
  • Zero-Dependency Core: Pure frontend architecture, easy to integrate into any project.

🏗️ Architecture

Flow Engine adopts a Controller-Agent pattern:

  • FlowEngine: The core scene manager and renderer (WebGPU).
  • BehaviorController (Brain): A finite state machine managing high-level states (IDLE, TALKING, THINKING).
  • LookAtProcessor (Reflex): Procedural animation system for eye contact and head tracking.
  • MCP Server (Bridge): A Node.js server enabling external AI agents to drive the avatar.

🤖 AI Agent Integration (MCP)

Flow Engine includes a built-in Model Context Protocol (MCP) server. This allows AI models (like Claude or Gemini) to "see" and "control" the avatar as a tool.

# Start the MCP Server
npm run mcp

📚 Documentation

Please visit docs/ for the full documentation and API references.


中文

"一开口,就服喽。"

Flow 是一个高性能、轻量级的基于 WebGPU 的 Web 端数字人引擎。

📦 安装指南

由于注册表平台限制,本项目在不同平台使用不同的包名作用域:

稳定版本 (推荐)

从 NPM 安装:

npm install @guoquan.net/flow-engine

从 GitHub Packages 安装: 在项目根目录创建 .npmrc 文件:

@guoquan:registry=https://npm.pkg.github.com

然后安装:

npm install @guoquan/flow-engine

注意: 命名差异(NPM 上为 @guoquan.net,GitHub 上为 @guoquan)是因为各平台对用户作用域(Scope)的要求不同。

开发版 / 最新版本

直接从 GitHub 仓库安装。你可以使用 # 前缀指定分支、标签或提交哈希:

# 安装 main 分支最新代码
npm install github:guoquan/flow-engine

# 指定分支
npm install github:guoquan/flow-engine#develop

# 指定标签
npm install github:guoquan/flow-engine#v0.1.9

# 指定提交哈希
npm install github:guoquan/flow-engine#7834b6c

🌟 项目亮点

  • 现代化渲染:基于 WebGPU,提供下一代渲染性能与视觉效果。
  • 数据驱动:动画与行为完全通过 JSON 配置文件控制。
  • 零依赖核心:纯前端架构,无需后端即可运行,易于集成。

🏗️ 架构设计

Flow Engine 采用 Controller-Agent 模式:

  • FlowEngine: 核心场景管理器与渲染器 (WebGPU)。
  • BehaviorController (大脑): 有限状态机,管理高级行为状态 (IDLE, TALKING, THINKING)。
  • LookAtProcessor (反射): 程序化动画系统,负责眼神接触与头部追踪。
  • MCP Server (桥梁): 一个 Node.js 服务,允许外部 AI Agent 驱动数字人。

🤖 AI Agent 集成 (MCP)

Flow Engine 内置了 Model Context Protocol (MCP) 服务器。这使得 AI 模型(如 Claude 或 Gemini)能够将数字人视为一个“工具”并进行控制。

# 启动 MCP 服务器
npm run mcp

📚 文档索引

请访问 docs/ 查看完整文档与 API 说明。