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

@macroui/echarts

v1.0.0

Published

Apache ECharts is a powerful, interactive charting and data visualization library for browser

Readme

@macroui/echarts

@macroui/echarts 是基于 Apache ECharts 构建的可视化组件库,由 macroui 团队维护与发行,提供开箱即用、响应 macroui 设计体系的图表能力。它沿用 ECharts 强大的交互式图表与数据可视化能力,并基于 zrender 轻量级 canvas 库渲染。

@macroui/echarts is a charting and data-visualization library published by the macroui team, built on top of Apache ECharts. It provides the same powerful, interactive and highly customizable charting experience, rendered through the lightweight zrender canvas library, while integrating seamlessly with the macroui design system.

中文官网: https://echarts.macroui.com · English: https://echarts.macroui.com/en

License Latest npm release NPM downloads

安装 / Install

# npm
npm install @macroui/echarts --save

# yarn
yarn add @macroui/echarts

# pnpm
pnpm add @macroui/echarts

快速开始 / Quick Start

import * as echarts from '@macroui/echarts';

// 初始化图表
const chart = echarts.init(document.getElementById('main'));

chart.setOption({
  title: { text: 'Hello macroui/echarts' },
  tooltip: {},
  xAxis: { data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] },
  yAxis: {},
  series: [{ type: 'bar', data: [120, 200, 150, 80, 70, 110, 130] }]
});

提示:在 Vue / React 项目中推荐搭配 @macroui/echarts-vue 使用,可直接以组件方式接入。

文档 / Documentation

获取帮助 / Get Help

源码构建 / Build

构建 @macroui/echarts 源码(需要 Node.js):

# 安装依赖
npm install

# 监听源码变化并实时构建
npm run dev

# 类型检查
npm run checktype

# 生产构建(生成 dist 目录下的产物)
npm run release

参与贡献 / Contributing

欢迎通过 Pull RequestIssue 参与贡献,提交前请阅读仓库中的 CONTRIBUTING.md

相关生态 / Related Projects

仓库 / Repository

许可协议 / License

@macroui/echarts 基于 Apache License 2.0 开源。