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

@tomiaa/monitor.js

v1.1.2

Published

Standalone browser monitor panel for FPS, memory, and DOM nodes

Readme

@tomiaa/monitor.js

English README

@tomiaa/monitor.js 是一个浏览器端监控面板组件,用来展示 FPSJS Heap MemoryDOM Nodes

这个项目最初来源于 eruda-monitor。原始版本是依赖 eruda 运行的调试面板插件,只能作为 eruda 的一个工具页使用。现在已经改造成一个独立的单文件包,不再依赖 eruda,而是可以直接挂载到任意 DOM 节点下使用。

现在的包是什么

当前包名是 @tomiaa/monitor.js

当前产物是单文件 monitor.js,适合两种场景:

  • 通过 npm 安装,在项目中作为浏览器端监控组件使用
  • 通过 CDN 或直接引入构建产物,在页面中直接挂载使用

和原始 eruda 插件的区别

  • 原始包是 eruda 插件,需要先加载 eruda
  • 现在的包是独立监控面板,不需要 eruda
  • 原始包挂在 eruda 工具栏内部
  • 现在的包通过传入 target 直接挂载到指定 DOM 元素
  • 原始包偏向移动端调试工具扩展
  • 现在的包更适合作为页面内嵌的性能监控小组件

使用方式

npm 使用

安装包:npm install @tomiaa/monitor.js

import createMonitor from '@tomiaa/monitor.js'

createMonitor({
  target: document.getElementById('monitor'),
})

CDN 使用

<div id="monitor"></div>
<script src="https://unpkg.com/@tomiaa/monitor.js@latest/monitor.js"></script>
<script>
  erudaMonitor({
    target: document.getElementById('monitor'),
  })
</script>