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

@abhixdevs/inklog

v1.0.0

Published

A beautiful, lightweight logger for Node.js CLI applications.

Readme

InkLog

🚀 A beautiful, lightweight logger for Node.js CLI applications.

Transform plain console.log() statements into clean, colorful, and structured terminal logs.

Perfect for CLI tools, automation scripts, code generators, scaffolding tools, and internal developer platforms.


✨ Features

  • 🎨 Beautiful colored log levels
  • ✔ Built-in icons
  • 📏 Automatic text wrapping
  • 📐 Automatically adapts to terminal width
  • ⚙️ Configurable (colors & icons)
  • ⚡ Lightweight
  • 📦 Zero dependencies (except Chalk)
  • 🟦 Fully written in TypeScript

Installation

npm install @abhixdevs/inklog

or

yarn add @abhixdevs/inklog

or

pnpm add @abhixdevs/inklog

Quick Start

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

successLog("Service created successfully.");

warningLog("Docker is not installed.");

errorLog("Unable to connect to MongoDB.");

infoLog("Starting authentication service...");

Output

───────────────────────────────────────────────────────────────────────────────

✔ SUCCESS ─ Service created successfully.

───────────────────────────────────────────────────────────────────────────────

✖ ERROR ─ Unable to connect to MongoDB.

───────────────────────────────────────────────────────────────────────────────

⚠ WARNING ─ Docker is not installed.

───────────────────────────────────────────────────────────────────────────────

ℹ INFO ─ Starting authentication service...

───────────────────────────────────────────────────────────────────────────────

Long messages are automatically wrapped.

───────────────────────────────────────────────────────────────────────────────

✔ SUCCESS ─ Authentication service has been created successfully with routes,
            interfaces, models, controllers and Docker configuration.

───────────────────────────────────────────────────────────────────────────────

API

successLog()

Displays a success message.

successLog();

Default message

Operation completed successfully

errorLog()

Displays an error message.

errorLog();

Default message

An unexpected error occurred

warningLog()

Displays a warning message.

warningLog();

Default message

Potential issue identified

infoLog()

Displays an informational message.

infoLog();

Default message

Just a heads up

Configuration

InkLog allows you to configure colors and icons.

Disable Colors

import { disableColors } from "@abhixdevs/inklog";

disableColors();

Enable Colors

import { enableColors } from "@abhixdevs/inklog";

enableColors();

Disable Icons

import { disableIcons } from "@abhixdevs/inklog";

disableIcons();

Enable Icons

import { enableIcons } from "@abhixdevs/inklog";

enableIcons();

Configure Everything

import { setLoggerConfig } from "@abhixdevs/inklog";

setLoggerConfig({
    colors: false,
    icons: true
});

Example

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

disableColors();

infoLog("Creating service...");

successLog("Users service created.");

warningLog("Redis is unavailable. Continuing without cache.");

errorLog("Failed to connect to PostgreSQL.");

Why InkLog?

Instead of...

Connected
Loading...
Error
Done

Get...

───────────────────────────────────────────────────────────────────────────────

✔ SUCCESS ─ Connected successfully.

───────────────────────────────────────────────────────────────────────────────

ℹ INFO ─ Loading configuration...

───────────────────────────────────────────────────────────────────────────────

⚠ WARNING ─ Redis cache unavailable.

───────────────────────────────────────────────────────────────────────────────

✖ ERROR ─ Failed to connect to database.

───────────────────────────────────────────────────────────────────────────────

InkLog makes CLI output easier to read, easier to debug, and much more professional.


Use Cases

  • CLI Applications
  • Internal Developer Tools
  • Project Scaffolding
  • Automation Scripts
  • Build Pipelines
  • DevOps Utilities
  • Code Generators
  • Node.js Scripts

License

MIT


Author

Built with ❤️ by Abhishek Sankhwar

If you like this project, consider giving it a ⭐ on GitHub.