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

design-benchmarker

v1.0.9

Published

This script is an automated tool for capturing multiple screenshots based on dynamic search queries. It takes the queries, search them on Google (using Puppeteer.js), open the first result and take a screenshot of desktop and/or mobile versions. You can i

Readme

Benchmarker

This script is an automated tool for capturing multiple screenshots based on dynamic search queries. It takes the queries, search them on Google (using Puppeteer.js), open the first result and take a screenshot of desktop and/or mobile versions. You can include multiple queries at once too.

The main objective is to assist designers doing benchmarks or researching lots of pages, since it speeds and automates the work of searching for each page and taking snapshots.

Installing

  1. Install Node.js
  2. Open terminal and run
    npm i design-benchmarker -g
  3. (Optional) You can also clone this repository or download as .ZIP. If you do so, in the codes below you will need to replace benchmarker to node benchmarker.js

Usage

After installing the dependencies, call the script in your terminal:

benchmarker "checkin rules" --folder ~/Desktop/screenshots

Simple query

Pass a text string to benchmarker or use a --search parameter

benchmarker "checkin rules" --folder ~/Desktop/screenshots
# same as
benchmarker --search "checkin rules" --folder ~/Desktop/screenshots
# same as

Change screenshots directory

If you don't know where the screenshots are being saved to or want to change it, set it manually:

benchmarker "checkin rules" --folder ~/Desktop/customScreenshotFolder

Dynamic queries

Use double brackets [[listItem]] to include dynamic variables from the lists created in lists.js. This is located in the folder your benchmarker is installed (See "Create or edit lists" below).

For example, a list named "ciaBr" with the items "azul", "gol", "latam" and a search term like regras de checkin [[ciaBr]] will yield three variations of this query for each of the variables.

benchmarker "regras de checkin [[ciaBr]]" --folder ~/Desktop/screenshots
# regras de checkin azul
# regras de checkin gol
# regras de checkin latam

Multiple queries

Use comma (,) to use input multiple sentences:

benchmarker "regras de checkin [[ciaBr]], checkin rules [[ciaEn]]" --folder ~/Desktop/screenshots
# regras de checkin azul
# regras de checkin gol
# regras de checkin latam
# checkin rules jetblue
# checkin rules american airlines
# ...

Create or edit lists

Use --setList to create a new list. Use = to define the list name and separate its values with ,:

benchmarker --setList "listName=item 1, item 2"

You can manually update the list, just edit list.js file. To view its folder, use --showLists:

benchmarker --showLists

Screenshot Mobile and Desktop

Use --desktop and --mobile parameter

benchmarker "regras de checkin [[ciaBr]]" --desktop --mobile --folder ~/Desktop/screenshots

Hide browser

Use --headless to make Chromium browser run in background:

benchmarker "regras de checkin [[ciaBr]]" --headless --folder ~/Desktop/screenshots

Help

Forgot something? All the commands are summarised with:

benchmarker --help
# or
benchmarker -h