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

@zahra633/inklog

v1.0.0

Published

A colorful and beautiful terminal logger for Node.js with fixed-width output and icons

Downloads

51

Readme

@zahra633/inklog

A lightweight, beautiful, and fully typed terminal logger for Node.js. inklog creates neatly formatted, colored boxes around your terminal messages using chalk, complete with status icons and automatic text wrapping so your logs never break terminal layout!

Features

  • 🎨 Beautiful Formatting: Automatically wraps text in elegant ASCII box-drawing characters.
  • 📐 Smart Word Wrapping: Detects your terminal width automatically and wraps long text without splitting words visually.
  • 🚦 Status Icons: Built-in recognizable prefixes for different log levels (✔, ✖, ⚠, ℹ).
  • 🌈 Color Coded: Uses chalk to colorize boxes based on the tone of your message (Green, Red, Yellow, Blue).
  • 📦 Zero-Config: Works out of the box with zero setup required.
  • 🛡️ TypeScript Ready: Written in TypeScript to provide excellent autocomplete and type definitions.

Installation

You can install it via npm:

npm install @zahra633/inklog

Usage

You can import specific logging functions or the default object.

Import Functions Individually

import { successLog, errorLog, warningLog, infoLog } from "@zahra633/inklog";

successLog("Database connection established successfully!");
errorLog("Failed to authenticate user: Invalid credentials.");
warningLog("API rate limit is approaching.");
infoLog("Server is running on port 3000.");

Import as Default Object

import inklog from "@zahra633/inklog";

inklog.successLog("User profile updated!");

// Works effortlessly with long strings and JSON objects:
inklog.infoLog(
  "This is a really long log message that is going to be dynamically wrapped based on your system's current terminal width without causing any overflow issues or messing up the box design whatsoever."
);

inklog.warningLog({ message: "You can even pass objects and get formatted JSON out!", status: 400 });

API Reference

successLog(msg: any)

Prints a green box with a checkmark (✔) icon. Ideal for success events.

errorLog(msg: any)

Prints a red box with an X (✖) icon. Ideal for error events and exceptions.

warningLog(msg: any)

Prints a yellow box with a warning (⚠) icon. Ideal for deprecations and warnings.

infoLog(msg: any)

Prints a blue box with an info (ℹ) icon. Ideal for general logging and status updates.

License

ISC License