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 🙏

© 2025 – Pkg Stats / Ryan Hefner

visall

v0.14.0

Published

VISALL 数据可视化组件库

Readme

VISALL 数据可视化组件库

VISALL 是一个高性能的数据可视化组件库,基于 TypeScript 开发,使用 pnpm workspace 管理多包结构。

该构建工具基于 rolluptypescript 等工具。

🏗️ 项目结构

packages/
├── table/                  # 表格组件
├── text/                   # 文本组件
├── timeline/               # 时间轴组件
├── operational-donut/      # 甜甜圈图组件
├── create-visall-layer-demo/ # 项目脚手架
└── integration-example/    # 集成示例

🚀 快速开始

前置要求

  • Node.js >= 16
  • pnpm >= 8

安装

# 全局安装 pnpm
npm install -g pnpm

# 安装项目依赖
pnpm install

从 npm workspaces 迁移

如果你是从 npm workspaces 迁移过来的,可以使用一键迁移脚本:

./scripts/migrate-to-pnpm.sh

更多迁移详情,请查看 pnpm workspace 改造指南

打包

运行 npm run build, 最终将生成以下构建产物。

types/
build/
├── bundle.esm.js
├── bundle.esm.min.js
├── bundle.umd.js
└── bundle.umd.min.js

还将生成相应的 sourcemap 文件。

💻 开发

单包开发

  • 开发模式

    pnpm run dev # or $ pnpm run esbuild-dev
  • 开发模式(Web 服务)

    pnpm run dev-serve # or $ pnpm run esbuild-dev-serve
  • 运行测试

    pnpm run test
  • 构建打包

    pnpm run build

多包开发

  • 构建所有包

    pnpm run packages:build
  • 并行运行所有包的开发服务器

    pnpm run packages:dev
  • 运行所有包的测试

    pnpm run packages:test
  • 清理所有包的构建产物

    pnpm run packages:clean

指定包操作

  • 构建指定包

    pnpm run --filter @visall/table build
  • 给指定包安装依赖

    pnpm add --filter @visall/table lodash
  • 发布指定包

    pnpm publish --filter @visall/table

文档构建

  • 从 Markdown 文档构建 Html 文档

    pnpm run build:docs-html

更多命令查看 package.jsonscripts 字段。

相关文档

组件命名规范

[Dynamic] [Stacked] [Grouped] [Ranking] (Bar|Line|...) [3D]

维护人员

许可