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

@antv/t8

v0.3.0

Published

T8 is a text visualization solution for unstructured data within the AntV technology stack, and it is a declarative T8 markdown syntax that can be used to describe the content of data interpretation reports.

Readme

English | 简体中文

T8 是 AntV 技术栈下针对非结构化数据得文本可视化解决方案,其中 T 代表 Text,8 代表一个字节 8 bits,寓意这个工具可以深度透视文本底下的洞察。

gzip size Build Status codecov npm Version npm License

T8 是一套声明式的 Markdown Syntax 语法,可以用它描述数据解读报告的内容。技术方案上,基于 Markdown Syntax 数据来自服务端生成的假设,前端消费 Syntax 进行渲染即可。随着数据表达的多样性和即时性的要求越来越高,以及 AI、NLP 技术越来越多的被应用,前端维护文本模版将不可持续,此时使用 T8 进行统一渲染将是最佳选择。

📚 文档

  • 快速开始 - 几分钟内开始使用 T8,包含安装和基本使用示例
  • 教程 - 学习主题、事件、插件、流式渲染和 LLM 集成
  • 语法 - 完整的 T8 语法参考和结构指南
  • API 文档 - 详细的 API 文档和使用指南

✨ Features

  • 🛫 前端技术栈无关 - 可以在 React, Vue 或者其他的前端框架中使用,并非常易于封装成组件。
  • 🤖 大语言模型友好 - T8 的 Markdown Syntax 描述,近通过简单的提示词,就可以非常容易被大语言模型理解和生成。
  • 🛠️ 可扩展 - 可以通过 EntityPhrase 来快速的自定义 T8 文本展示的样式。
  • 🪩 轻量级 - 很少的、轻量的依赖,并在代码设计中关注包大小,压缩后小于 20 Kb。

🔨 安装

使用 npm 或 yarn 安装 T8:

npm install @antv/t8
yarn add @antv/t8

🚀 快速示例

import { Text } from '@antv/t8';

const text = new Text({ container: 'container' });
text.theme('light').render(`
  # 销售报告
  总销售额达到 [¥1,234,567](metric_value, origin=1234567)。
`);

完整的使用示例和高级功能,请参见 快速开始指南

🤖 在大模型中使用

T8 被设计为对大语言模型友好。T8 语法可以轻松地由 AI 模型生成,使其成为自动化数据叙述生成的理想选择。为了帮助您将 T8 与 AI Agent 集成:

📮 Contributing

很期待我们的用户参入到 T8 的开发和反馈,也感谢所有贡献这个项目的开源社区开发者。🙏

  • Issues - 报告 Bug 或者提交 Pull Request
  • Discussions - 在 GitHub 讨论区讨论想法

📄 License

MIT@AntV.