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

@go-wind/bi-vue

v0.3.0

Published

Vue 3 BI dashboard renderer + designer canvas on top of @go-wind/bi-core: config-driven dashboard schema, drag/resize grid, undo/redo, schema import/export.

Readme

@go-wind/bi-vue

Vue 3 BI 仪表盘:<BiDashboard> 只读渲染器 + <BiDesigner> 画布设计器,构建在 @go-wind/bi-core 的 schema 与状态机之上。设计文档:docs/bi-designer.md。

快速开始

pnpm add @go-wind/bi-vue
// main.ts:vxe/EP 按你的应用惯例;BI 卡片颜色走 EP 变量 + 裸应用回退
import "@go-wind/bi-vue/style.css";

渲染器(只读)

<script setup lang="ts">
import { BiDashboard, provideBiEnv } from "@go-wind/bi-vue";
import type { BiDashboardSchema } from "@go-wind/bi-core";

const schema: Partial<BiDashboardSchema> = { /* datasets + charts,见 bi-core README */ };

// api 型数据集的取数注入(零后端耦合:请求包裹/鉴权都是你的事)
provideBiEnv({
  resolvers: {
    ds_api: async (dataset, params) => (await fetchList(params)).items,
  },
});
</script>

<template>
  <BiDashboard :schema="schema" @chart-click="onChartClick" />
</template>

设计器(MVP)

<BiDesigner :initial-schema="saved" @change="onSave" />

内置:数据集面板(static JSON / api 声明)、指针拖拽移动 + 右下角缩放(栅格吸附)、属性面板(标题/图型/数据集/视觉映射/位置尺寸)、撤销重做、整理布局、schema 导入导出、预览态。demo 属性给 true 时自带演示 schema。

主题

暗色判定缺省自动跟随 html.dark + 系统偏好(与 editor 系同机制);宿主可经 provideBiEnv({ themeMode: () => mode }) 接入自己的偏好系统。图表主题在编译期注入 option,卡片外观走 --bi-card-* / EP 变量回退链。