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

eerawlog

v1.5.5

Published

EmailEngine raw log viewer

Readme

Raw log viewer for EmailEngine

EmailEngine logs all output in Pino format. If the EENGINE_LOG_RAW=true environment variable or the --log.raw=true argument is set, then EmailEngine also includes the raw data sent to and read from the IMAP socket. This utility reads those logs from standard input and displays them in a human readable, color-coded form.

Install

Requires Node.js 20 or later.

$ npm install eerawlog -g
$ EENGINE_LOG_RAW=true emailengine | eerawlog

What it shows

eerawlog reads EmailEngine's NDJSON log lines from stdin and pretty-prints the entries it recognizes; unrecognized entries are ignored, while lines that are not valid JSON are echoed as-is so nothing in the stream is silently lost. Recognized entries are:

  • Raw IMAP socket traffic, decoded and color-coded by direction (client → server and server → client) and grouped under the connection it belongs to
  • IMAP connection and TLS session establishment
  • Incoming API requests (route handler entries and request-completion lines)
  • OAuth2 access-token renewals, including provisioned scopes and error details

Filtering output

Filter by any key present in the log entries with a --filter.<key>=<value> argument:

  • Repeat the same key to match any of several values (OR).
  • Combine different keys to require all of them to match (AND).

Example. Only display traffic for accounts "account1" and "account2":

$ EENGINE_LOG_RAW=true emailengine | eerawlog --filter.account="account1" --filter.account="account2"

When filtering by account, API log entries are also matched by the account segment in their request URL, even if the entry itself has no account field.

Hiding prefixes

For screenshots or documentation the timestamp and connection-id decorations can be turned off:

  • --no-time hides the [YYYY-MM-DD HH:MM:SS] prefix on every rendered line
  • --no-cid hides the bold connection-id header lines that group raw traffic by connection
$ EENGINE_LOG_RAW=true emailengine | eerawlog --no-time --no-cid

Example screenshot

License

Licensed under the ISC license.