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

@arronqzy/blueprint-dsl

v1.0.3

Published

Abuilder blueprint DSL runtime

Readme

@arronqzy/blueprint-dsl

Abuilder 蓝图的 DSL 与运行时 包,定义节点类型、行为注册与图执行逻辑,不依赖 React。

功能概览

  • 节点定义:Flow / Data 端口、节点元数据与默认行为
  • 行为注册表BehaviorRegistry 注册 JS / 内置行为
  • 执行器:按 Token 驱动节点执行、Scope 传递
  • 图运行器:整图调度、循环检测、执行轨迹
  • 内置节点:逻辑判断、HTTP 请求、JSON 处理、时钟定时、Swagger 等
  • 时钟调度:多 tick 输出、中止与活跃状态订阅

安装

pnpm add @arronqzy/blueprint-dsl rxjs

快速开始

import {
  BehaviorRegistry,
  Executor,
  type NodeDefinition,
} from "@arronqzy/blueprint-dsl";

const behaviors = new BehaviorRegistry();

behaviors.registerJS("print-js", async ({ io }) => {
  console.log(await io.getInput("msg"));
  io.emitFlow("out");
});

const PrintNode: NodeDefinition = {
  type: "Print",
  inputs: [{ name: "msg", kind: "data" }],
  outputs: [{ name: "out", kind: "flow" }],
  behavior: { kind: "js", ref: "print-js" },
};

const executor = new Executor(behaviors);

await executor.executeToken({
  tokenId: "t1",
  nodeId: "n1",
  nodeType: "Print",
  inPort: "in",
  scope: { vars: new Map() },
});

核心模块

| 路径 | 说明 | |------|------| | core/behavior.js | 行为接口与 IO | | core/behavior-registry.js | 行为注册 | | core/executor.js | 单节点执行 | | runtime/graph-runner.js | 整图运行 | | runtime/execution-trace.js | 执行轨迹 | | runtime/clock-scheduler.js | 时钟节点调度 | | nodes/definitions.js | 内置节点定义 | | fetch-config.js / logic-config.js 等 | 各类型节点配置结构 |

与上层包的关系

  • @arronqzy/react-blueprint:React Flow 画布、调试 UI、蓝图库
  • @arronqzy/react-view:蓝图执行结果通过 Scope 驱动视图节点

许可证

MIT