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

kryptorious-logguard

v1.0.1

Published

Log file analyzer CLI — scan, tail, and get stats from JSON, plain text, and CSV logs

Readme

🔍 Kryptorious LogGuard

Log file analyzer CLI — scan, tail, and get stats from JSON, plain text, and CSV log files. Built for developers who need to troubleshoot fast.

npm version License: MIT


🚀 Quick Start

npm install -g kryptorious-logguard

📋 Commands

logguard scan <file>

Scan a log file for errors, warnings, and custom patterns.

# Auto-detect format and scan for errors/warnings
logguard scan app.log

# Scan with a custom regex pattern
logguard scan app.log --pattern "timeout|connection refused" --ignore-case

# Show 3 lines of context around each match
logguard scan app.log --context 3

# Scan JSON logs with explicit format
logguard scan logs.json --format json

logguard stats <file>

Get detailed statistics about your log file.

# Basic stats
logguard stats app.log

# Show top 10 most frequent error messages
logguard stats app.log --top-errors 10

# Stats for JSON logs (includes time-range estimation)
logguard stats production.jsonl --format json

logguard tail <file>

Tail the end of a log file, with live-follow support.

# Show last 50 lines
logguard tail app.log --lines 50

# Follow the file (like tail -f)
logguard tail app.log --follow

# Filter to errors only
logguard tail app.log --errors-only

# Filter by pattern
logguard tail app.log --pattern "POST /api" --follow

🎯 Supported Formats

| Format | Extensions | Description | |--------|-----------|-------------| | Text | .log, .txt, .out | Plain text log files (auto-detected by default) | | JSON | .json, .jsonl | JSON and JSON Lines logs with timestamp extraction | | CSV | .csv | CSV log exports |

📊 Example Output

🔍 Scanning: app.log (format: text)

  ❌ [ERROR] Ln 42: [2024-08-15 14:32:10] ERROR: Connection timeout to db.example.com:5432
  ❌ [ERROR] Ln 87: [2024-08-15 14:33:45] FATAL: Out of memory
  ⚠️ [WARN]  Ln 103: [2024-08-15 14:34:01] WARNING: Deprecated API v1 used

📊 Summary: 3 issue(s) found in 250 lines.

⭐ Premium Features

Unlock the full power of LogGuard with our $9 lifetime license:

  • 🔧 Custom rule definitions — define your own error/warning patterns in .logguardrc.json
  • 📊 Team dashboards — aggregate log stats across multiple servers
  • 🤖 AI-powered anomaly detection — detect unusual patterns automatically
  • 📧 Priority support — get help directly from the Kryptorious team
  • 🔄 Export reports — generate PDF/HTML audit reports

👉 Get Premium — $9 Lifetime


🔗 Links

📜 License

MIT © Kryptorious