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

pressboard

v0.0.3

Published

A utility for taking screenshots of a web application using Puppeteer.

Readme

Pressboard

A utility for taking screenshots of a web application using Puppeteer

Installing pressboard

As a local npm run script

Install and add to devDependencies:

npm i --save-dev pressboard

Add an npm run script to your package.json:

{
  "scripts": {
    "press": "pressboard"
  }
}

Now you can use npm run press in place of npm version.

This has the benefit of making your repo/package more portable, so that other developers can cut releases without having to globally install pressboard on their machine.

As global bin

Install globally (add to your PATH):

npm i -g pressboard

Now you can use pressboard in place of npm version.

This has the benefit of allowing you to use pressboard on any repo/package without adding a dev dependency to each one.

Using npx

As of [email protected], npx is installed alongside npm. Using npx you can use pressboard without having to keep a package.json file by running: npx pressboard.

This method is especially useful when using pressboard in non-JavaScript projects.

CLI Usage

Configuration

In your folder create a file named pressboard.conf.json in your workspace. This file will specify the configuration for getting the screenshots for the documentation.

The following properties, at the top level of the file, configure the workspace.

  • url: The base URL for the routes that you want to hit
  • routes: Configuration of each of the route that you want to capture
    • name (Optional): Name of the image that is created (defaults to path)
    • path: Path to be captured within the route
    • url (Optional): Overwrites the URL of the config
    • params: Params to be passed into the path
    • selector: Waits for the selector before taking screenshot
    • igconito: Launch the browser directly into incognito mode by passing the --incognito flag to puppeteer.launch()
{
  "url": "https://www.google.ca",
  "routes": [
    {
      "name": "search",
      "path": "/search?q=:id",
      "params": {
        "id": "dogs"
      },
      "selector": "#search"
    }
  ]
}

Generate Docs

To generate your screenshots for your application, simply do:

# npm run script
npm run press
# global bin
pressboard
# npx
npx pressboard

This will create a docs/README.md with screenshots of the routes specified in the pressboard.conf.json.