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

@antv/infographic

v0.1.2

Published

An Infographic Generation and Rendering Framework, bring words to life!

Readme

简体中文 | English

Infographic, bring words to life!

🦋 新一代信息图可视化引擎,让文字信息栩栩如生!

npm version build status license

AntV Infographic 是 AntV 推出的新一代声明式信息图可视化引擎。 通过统一的语法与组件体系,你可以将结构化数据以优雅、灵活的方式渲染为高质量的信息图,让信息表达更高效,让数据叙事更简单。

官网 · GitHub · 文档 · 示例 · AI 生成

✨ 特性

  • 📦 开箱即用:内置 100+ 信息图模板、数据项组件与布局,快速构建专业信息图
  • 🎨 主题系统:支持手绘(rough)、渐变、图案、多套预设主题,并支持深度自定义
  • 🧩 组件化架构:数据项、结构布局、渲染单元完全组件化,可灵活组合与扩展
  • 🎯 声明式配置:简单清晰的配置方式,更适合 AI 生成、机器理解与自动化流程
  • 🤖 AI 友好:完善的 JSON Schema 定义,使大模型可自动生成可用配置
  • 📐 高质量 SVG 输出:默认基于 SVG 渲染,保证视觉品质与可编辑性

🚀 安装

npm install @antv/infographic

📝 快速开始

import { Infographic } from '@antv/infographic';

const infographic = new Infographic({
  container: '#container',
  width: '100%',
  height: '100%',
  template: 'list-row-simple-horizontal-arrow',
  data: {
    items: [
      { label: '步骤 1', desc: '开始' },
      { label: '步骤 2', desc: '进行中' },
      { label: '步骤 3', desc: '完成' },
    ],
  },
});

infographic.render();

然后你可以在容器中看到信息图渲染出来。

更多示例请参考文档站点

💬 社区与交流

  • 在 GitHub 提交你的问题或建议
  • 参与 GitHub Discussions 与社区交流
  • 欢迎参与贡献,一起完善 AntV Infographic!

如有任何建议,欢迎在 GitHub 上与我们交流!欢迎 Star ⭐ 支持我们。

📄 许可证

本项目基于 MIT 许可开源,详见 LICENSE