npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details


  • User packages



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.


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 🙏

© 2023 – Pkg Stats / Ryan Hefner




PerfTop CLI tool for Open Distro Performance Analyzer




CD Documentation Chat PRs welcome!


The PerfTop CLI provides pre-configured dashboards for analyzing cluster, node, shard performance, and more. Use custom JSON templates to create the dashboards you need to diagnose your cluster performance.

Preset Dashboards

  • All sorts are in decreasing order.
  • Bar graphs show aggregated metrics on cluster-level unless stated otherwise.
  • Line graphs generate random colors. If no data shows up, it's likely that the data is 0.


  • "Resource Metrics" is sorted by CPU_Utilization.
  • "Shard Operation Metrics" is sorted by ShardEvents.
  • "Workload" is sorted by HTTP_RequestDocs.


  • "Shard Operation Metrics" is sorted by ShardEvents.
  • "Circuit Breaker - Tripped Events / Estimated and Configured Limits" is sorted by CB_TrippedEvents.


  • "Thread Pool - Queue Size and Rejected Requests" is sorted by ThreadPool_RejectedReqs.
  • "Thread - Blocked Time" is sorted by Thread_Blocked_Time.
  • "Page Faults" is sorted by Paging_MajfltRate.
  • All "Context Switch" tables are sorted by Sched_*.


This dashboard supports --nodename $NODENAME command-line argument for displaying metric data for ONLY the node that starts with $NODENAME. If not provided, this dashboard will include all nodes. Users can also define different node names for each type of graphs from the JSON dashboard config.

  • "Shard Operation Metrics" is sorted by ShardEvents.
  • "Shard Request Cache Miss" is sorted by Cache_Request_Miss.
  • "Thread Pool - Queue Size and Rejected Requests" is sorted by ThreadPool_RejectedReqs.
  • "Heap Usage" is sorted by Heap_Used.
  • If no --nodename $NODENAME is provided, the bar graphs will be aggregated metrics on cluster-level.


For more information, see the documentation.


Install with npm:

npm install -g @aws/opendistro-for-elasticsearch-perftop


Download the executables and preset JSON dashboard configs here.

Supported platforms: Linux, macOS



opendistro-perf-top --dashboard NodeAnalysis


./opendistro-perf-top-${PLATFORM} --dashboard $JSON --endpoint $ENDPOINT



  • node (version >= v10.0 < v11.0)
  • npm
  1. Clone/download from Github
  2. Run ./gradlew build -Dbuild.linux={true/false} -Dbuild.macos={true/false}. This will run the following:
    1. npm install - locally installs dependencies
    2. npm run build-{linux/macos} - creates "opendistro-perf-top-{linux/macos}" executables.
  3. For cleaning, run ./gradlew clean which will run:
    1. npm run clean - deletes locally installed dependencies and executables

To run PerfTop without (re)creating the executables every code change:

node ./lib/bin.js --dashboard $JSON

Code of Conduct

This project has adopted an Open Source Code of Conduct.

Security issue notifications

If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our vulnerability reporting page. Please do not create a public GitHub issue.


See the LICENSE file for our project's licensing. We will ask you to confirm the licensing of your contribution.


Copyright 2019, Inc. or its affiliates. All Rights Reserved.