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

pino-quiet

v0.9.1

Published

A lightweight pino transport that collapses repeated consecutive log messages.

Readme

pino-quiet is a lightweight transport that reduces log noise by collapsing repeated consecutive log messages into a single entry with a repetition counter.

It improves readability, cuts storage costs, and requires zero changes to your existing logging calls.

Features

  • Zero-Config: Works out of the box with standard defaults.

  • Noise Reduction: Turns 1,000 "Connection Failed" logs into 1 log with (x1000).

  • High Performance: Runs in a worker thread via pino-abstract-transport to keep your main loop free.

  • Flexible: Supports "Simple" mode (message only) or "Strict" mode (deep object comparison).

Installation

npm i pino-quiet

Usage

Basic Usage (msg comparison)

By default, pino-quiet only checks if the log msg string is identical. This is the fastest method.

const logger = pino({
  transport: {
    target: 'pino-quiet',
    options: {
      // By default, writes to stdout (fd 1)
    }
  }
});

logger.info('Connecting...');
logger.info('Connecting...');
logger.info('Connecting...');
logger.info('Connected!');

// Output:
// {"level":30,"time":...,"msg":"Connecting... (x3)","repeats":3}
// {"level":30,"time":...,"msg":"Connected!"}

Strict Usage (Deep comparison)

If you log metadata objects, you might want to deduplicate based on the entire object content (ignoring time, pid, and hostname).

const logger = pino({
  transport: {
    target: 'pino-quiet',
    options: {
      strict: true // Enable deep comparison
    }
  }
});

// These will be collapsed because the data { id: 1 } matches,
// even though the timestamps differ.
logger.error({ id: 1 }, 'Transaction failed');
logger.error({ id: 1 }, 'Transaction failed');

How it works

  • pino-quiet buffers the most recent log message.

  • When a new log arrives, it compares it to the buffered log.

  • If Match: It increments a counter and does not write to output.

  • If Different: It flushes the buffered log (with the updated count) and buffers the new one.

Contributing

Contributions welcome! Please open issues for feature requests or bugs.


License

MIT — see LICENSE for details.