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

ecoinsight-torchnpu

v0.2.0

Published

EcoInsight-TorchNPU — Ascend/pytorch CI 流水线分析工具:GitHub Actions 数据同步、干扰触发过滤、三维度 AI 失败分析

Readme

EcoInsight-TorchNPU

Ascend/pytorch CI 流水线分析工具 — 自动拉取 GitHub Actions 流水线数据,过滤 97% 的干扰触发,呈现真实 CI 执行情况,支持三维度(流水线/文件/用例)AI 失败分析。

安装

npm install -g ecoinsight-torchnpu
  • 需要 Node.js >= 18
  • 支持 linux-x64(其余平台规划中;Windows 因 PTY 终端依赖暂不支持 AI 分析)
  • 支持 npm / pnpm;yarn 需 node-modules linker(PnP 模式不支持)

依赖

安装后会自动检查环境依赖并提示(若未看到提示,运行 ecoinsight doctor 查看完整诊断):

| 依赖 | 级别 | 用途 | 未安装的影响 | |------|------|------|------------| | gh CLI | 必选 | GitHub API 认证 | 无法启动;安装后需执行 gh auth login | | opencode | 可选 | AI 失败分析 | 分析功能不可用,其余功能正常 | | python3 + git | 可选 | 失败用例自动屏蔽 | 自动屏蔽功能不可用 | | SMTP 账号 | 可选 | 监控邮件通知 | 邮件通知不可用 |

快速开始

# 1. 安装并登录 gh(必选依赖)
gh auth login

# 2. 启动(首次会自动创建数据目录并开始同步)
ecoinsight

# 3. 浏览器打开
#    http://localhost:9999

# 4. 环境诊断(可选)
ecoinsight doctor

# 5. 查看版本
ecoinsight --version

数据与配置目录

  • 配置与数据统一存放在 ~/.ecoinsight/(数据库、日志、制品缓存、分析会话归档)
  • 设置 ECOINSIGHT_HOME 环境变量可自定义该目录
  • 配置文件为 ~/.ecoinsight/config.yaml(不存在时使用内置默认值,面向 Ascend/pytorch 预置)
  • 升级时内嵌的 AI 分析技能与脚本会自动刷新到该目录

常见问题

  • 安装时没看到依赖提示:pnpm 等包管理器默认拦截安装脚本,运行 ecoinsight doctor 查看完整诊断
  • 报「未找到平台二进制包」:使用了 --no-optional 安装,请去掉该参数重新安装
  • 修改了系统 PATH 后仍提示依赖缺失:重新运行 ecoinsight doctor 确认
  • 卸载:npm uninstall -g ecoinsight-torchnpu;如需彻底清理数据,删除 ~/.ecoinsight/

License

MIT