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

easy-performance

v1.0.6

Published

A visualization dashboard for easy-performance monitor

Readme

Monitor Monorepo

一个性能监控并上报的小工具,包含核心监控 SDK 和配套的可视化 Dashboard,支持个性化选择监控指标和自定义监控阈值。

✨ 特性

支持如下指标监控

  • 加载与渲染 (Loading & Rendering): FP, FCP, LCP, Load, TTFB
  • 交互响应 (Interaction): FID, INP, Long Task
  • 视觉稳定性 (Visual Stability): CLS
  • 资源与网络 (Resource & Network): 静态资源加载耗时, API 请求耗时
  • 数据上报: 支持自动上报性能数据到指定服务器

🚀 快速开始

📦 安装

# npm
npm install easy-performance

# yarn
yarn add easy-performance

# pnpm
pnpm add easy-performance

🛠 使用方法

easy-performance 提供了一个开箱即用的 React 组件,只需将其添加到你的应用根节点即可。

import PerformanceDebugger from "easy-performance";

function App() {
  return (
    <div>
      {/* 你的其他业务组件 */}

      {/* 将监控组件放在应用的最外层 */}
      <PerformanceDebugger />
    </div>
  );
}

export default App;

启动应用后,你会在屏幕右下角看到一个悬浮图标:

  1. 点击图标:首次点击会打开配置面板,可选择需要监控的指标(FCP, LCP, INP, Network 等)及自定义阈值。
  2. 开始监控:配置完成后点击 "开始监控",SDK 将自动采集数据。
  3. 查看数据:再次点击图标即可实时查看各项性能指标的卡片展示。

无需额外配置 PerformanceMonitor SDK,该组件会自动管理 SDK 的初始化与数据上报。