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

kailogger

v1.0.8

Published

> The Ultimate Logger for Node.js — Beautiful, powerful, and designed for developers who care about aesthetics.

Readme

KaiLogger

The Ultimate Logger for Node.js — Beautiful, powerful, and designed for developers who care about aesthetics.

Version TypeScript

Turn your boring console logs into a cyber-aesthetic experience. KaiLogger is a complete CLI toolkit featuring a custom high-performance color engine (KaiChroma) with TrueColor support, gradients, and 14 built-in themes.


Features

| Category | Features | | --------------- | -------------------------------------------------------------- | | Logging | Log levels, scoped loggers, custom badges, silent mode | | Styling | 14 Themes, custom gradients, KaiChroma engine (TrueColor) | | Interactive | Spinners, progress bars, select menus, prompts | | Debug | Pretty errors, JSON highlighting, diff view, tree view | | Visuals | Charts (Bar, Sparkline, Gauge), Screenshots (TXT/HTML) | | System | Desktop Notifications, Encryption, Sound Alerts | | Transports | Console, File (with rotation), Webhooks |


Installation

npm install kailogger

Quick Start

import { kai } from "kailogger";

kai.success("Hello, beautiful world!");
kai.error("Something went wrong");
kai.warning("Careful there");
kai.info("Just FYI");
kai.debug("For your eyes only");

// Enable sound
kai.beep();

Themes

Switch between 14 stunning themes powered by our custom KaiChroma engine.

kai.setTheme("cyberpunk");

Available Themes:

  • zen (Minimalist)
  • neon (Bright cyber)
  • pastel (Soft colors)
  • hacker (Matrix style)
  • sunset (Warm gradients)
  • ocean (Blue/Green tones)
  • cyberpunk (Blue/Pink/Yellow)
  • dracula (Dark mode favorite)
  • monokai (Classic code style)
  • vaporwave (Aesthetic purple/cyan)
  • midnight (Deep blues)
  • forest (Nature tones)
  • volcano (Fiery reds/oranges)
  • gold (Luxury)

Charts

Visualize data directly in your terminal.

Bar Chart

kai.chart([
  { label: "Users", value: 1500 },
  { label: "Sales", value: 890 },
  { label: "Errors", value: 32 },
]);

Sparkline

kai.sparkline([10, 25, 40, 35, 60, 90, 45, 20]);
// Output: ▂▃▄▃▅▇▄▂

Gauge

kai.gauge(75, 100, "CPU");
// CPU: [███████████████░░░░░] 75%

Notifications & Sounds

Desktop Notifications Send native system notifications.

kai.notify("Build complete!", "Success");

Sound Alerts Play sounds for events (Success, Error, Warning, Notification).

// Optional: Set custom sounds directory
kai.setSoundsDir("./src/sounds");

await kai.soundSuccess();
await kai.soundError();
kai.playSound("custom.wav");

Encryption

Handle sensitive data securely.

// Mask sensitive info in logs
kai.masked("API Key", "sk-1234567890abcdef", 4);
// API Key: ************cdef

// Encrypt/Decrypt helpers
const secret = kai.encrypted("My Secret Data", "my-key");
kai.decrypted(secret, "my-key");

Screen Capture

Capture terminal output to file.

kai.startCapture();

kai.success("This will be captured");
kai.info("So will this");

kai.saveScreenshot("logs/session.txt");
kai.saveScreenshotHtml("logs/session.html"); // Saves as styled HTML!

Enterprise Features

Automatic PII Redaction Automatically mask sensitive data like Email, Credit Cards, and SSNs.

kai.configure({ redact: true });
kai.info("User email is [email protected]");
// Output: User email is [EMAIL_REDACTED]

Trace ID Tracking Track requests across distributed systems.

import { KaiTrace } from "kailogger";

KaiTrace.run(() => {
  kai.info("Processing Request"); // [a3f1b2...] Processing Request
  someNestedFunction(); // [a3f1b2...] Nested Logic
});

Party Mode

Celebrate your success with a confetti animation directly in your terminal!

// Celebrate for 3 seconds (default)
await kai.party();

// Celebrate for 5 seconds
await kai.party(5000);

Log Levels & Scopes

// Set global level
kai.setLevel("warning");

// Scoped Logger
const db = kai.scope("Database");
db.info("Connected"); // [Database] Connected

Tree & Diff View

// Tree View
kai.tree({
  src: { "index.ts": null, utils: { "helper.ts": null } },
});

// Diff View
kai.diff({ status: "idle" }, { status: "active" });

Interactive Prompts

const name = await kai.ask("Name?");
const framework = await kai.select("Framework", ["React", "Vue", "Svelte"]);

// Progress Bar
const bar = kai.createProgress(100);
bar.update(50);

Transports

kai.addFileTransport({
  filename: "./logs/app.log",
  maxSize: 10 * 1024 * 1024,
});

kai.addWebhookTransport({
  url: "https://webhook.site/...",
});

License

ISC


By Soblend Development Studio