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

@esmyy/open-datadog-logs

v1.0.13

Published

Open Datadog Logs in the browser when a request ID is copied to the clipboard

Downloads

1,097

Readme

Open Datadog Logs

A CLI tool that automatically opens Datadog logs in your browser when a request ID is copied to the clipboard.

Description

This tool continuously monitors your clipboard and automatically opens the Datadog logs page in your browser whenever it detects a valid request ID (UUID format) has been copied.

Features

  • 🔍 Automatically detects Datadog request IDs in clipboard
  • 🌐 Opens Datadog logs page in browser automatically
  • 🚀 Can be added to system startup (macOS)
  • ⚡ Lightweight and fast

Installation

Using npm

npm install -g @esmyy/open-datadog-logs

After installation (macOS), it's ready to use: it will automatically add itself to system startup (launchd) and start listening to your clipboard.

Just copy a UUID (the clipboard content must be exactly the UUID), and it will automatically open the corresponding Datadog Logs page.

Using pnpm

pnpm add -g @esmyy/open-datadog-logs

After installation (macOS), it's ready to use: it will automatically add itself to system startup (launchd) and start listening to your clipboard.

Just copy a UUID (the clipboard content must be exactly the UUID), and it will automatically open the corresponding Datadog Logs page.

From source

git clone https://github.com/esmyy/open-datadog-logs.git
cd open-datadog-logs
pnpm install

After installation, it will automatically add itself to system startup (macOS).

Usage

After installation on macOS, it will start listening to your clipboard by default. All commands:

| Command | Effect | Notes | |---|---|---| | open-datadog-logs | Start listening in foreground | Keep this terminal open | | open-datadog-logs start | Start listening in foreground | Same as above | | open-datadog-logs add-to-startup | Enable auto-start on macOS (launchd) | Creates/loads ~/Library/LaunchAgents/com.esmyy.open-datadog-logs.plist | | open-datadog-logs stop | Stop the launchd listener | Keeps the plist file | | open-datadog-logs remove-from-startup | Disable auto-start | Unloads launchd + deletes the plist file |

How it works

  1. The tool monitors your clipboard every second
  2. When clipboard content changes, it checks if the content matches a UUID pattern
  3. If a valid request ID is detected, it opens https://us5.datadoghq.com/logs?query=@id:{requestId} in your default browser

Request ID Format

The tool recognizes UUID format (clipboard content should be exactly the UUID):

xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Where:

  • x is any hexadecimal digit

Configuration

Currently, the tool is configured to use the US5 Datadog region (us5.datadoghq.com). To change the Datadog region, modify the URL in index.js.

Requirements

  • Node.js
  • macOS, Linux, or Windows

Dependencies

  • clipboardy - Cross-platform clipboard access
  • open - Open URLs in the browser

License

MIT

Author

esmyy

Repository

https://github.com/esmyy/open-datadog-logs