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

node-logify

v1.0.4

Published

A comprehensive logging and monitoring library for Node.js applications with Express integration

Readme

Node-Logify

Node-Logify is a lightweight Node.js library with Express and Pino support, designed for simple system monitoring with minimal infrastructure configuration and low resource consumption.

Installation

npm install node-logify

Basic Usage

const express = require("express");
const pino = require("pino");
const { logify } = require("node-logify");

const app = express();

// Configure Logify
const { pinoStream, expressObserver, database } = logify(app, {
  users: [
    {
      name: "Admin User",
      email: "[email protected]",
      password: "admin123",
    },
  ],
  databasePath: "app-logs.db",
  prefix: "/logify",
  host: "localhost:3000",
});

// Use the express observer middleware
app.use(expressObserver);

// Create your logger
const logger = pino(
  { level: "info" },
  pino.multistream([{ stream: process.stdout }, { stream: pinoStream }])
);

// Your application routes
app.get("/", (req, res) => {
  logger.info({ userId: "123", action: "homepage_visit" });
  res.json({ message: "Hello World!" });
});

app.listen(3000, () => {
  console.log("Server running on http://localhost:3000");
  console.log("Logify dashboard: http://localhost:3000/logify");
});

📖 Configuration

LogifyConfig Interface

interface LogifyConfig {
  users: User[]; // Array of users for authentication
  databasePath?: string; // SQLite database file path (default: "logify.db")
  prefix?: string; // URL prefix for Logify routes (default: "/logify")
  host?: string; // Host for API configuration (default: "localhost:3000")
}

interface User {
  name: string; // User display name
  email: string; // User email (used for login)
  password: string; // User password (will be hashed)
}

Configuration Options

| Option | Type | Default | Description | | -------------- | -------- | ------------------ | ------------------------------------------- | | users | User[] | Required | Array of users for dashboard authentication | | databasePath | string | "logify.db" | Path to SQLite database file | | prefix | string | "/logify" | URL prefix for all Logify routes | | host | string | "localhost:3000" | Host used in API configuration |

Dashboard Features

Logs View

  • Real-time log streaming
  • Advanced filtering by level, time, and content
  • Log details with full context
  • Export functionality

HTTP Requests

  • Request/response monitoring
  • Performance metrics
  • Error tracking
  • Status code analytics

User Management

  • User authentication
  • Role-based access
  • Session management
  • User activity tracking

System Monitoring

  • CPU usage and information
  • Memory consumption
  • Disk space monitoring
  • Load average tracking
  • Real-time updates