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

@adovelopers/logado

v1.1.0

Published

A production-ready, colorful, log-level-aware Node.js logger built in TypeScript

Downloads

138

Readme

A powerful, production-grade, file-capable, and color-coded logger for Node.js.

  • Website: https://adovelopers.com/nodejs/packages/logado/
  • Documentation: https://adovelopers.com/nodejs/packages/logado/docs
  • Source code: https://github.com/adovelopers/logado

LogAdo

LogAdo is a collection of small but helpful tools designed to make life easier for new JavaScript developers. Whether you're just learning the language or building your first projects, LogAdo provides lightweight utilities like easy logging, formatting, and more all in a beginner-friendly way.


🔧 Why use logado?

  • ✅ Supports 8 log levels
  • ✅ Configurable log level filtering
  • File output for persistent logs
  • ✅ Colorful and timestamped console output
  • ✅ Fully typed with TypeScript definitions
  • ✅ Lightweight and zero dependencies

📦 Installation

npm i @adovelopers/logado

📘 Usage Example

import { createLogger } from '@adovelopers/logado';

const logger = createLogger();

logger.info('Server started');
logger.warn('Memory usage is high');
logger.error('Failed to connect to database');

🔧 Log Levels

| Level | Value | Use Case | |---------|-------|--------------------------------------------| | silent | -1 | Suppresses all logging | | error | 0 | Serious issues or crashes | | warn | 1 | Warnings about potential problems | | notice | 2 | General notices (non-errors) | | http | 3 | HTTP logs and request tracking | | info | 4 | Informational messages | | verbose | 5 | Detailed operational logs | | silly | 6 | Highly detailed developer-level logs |

You can set a minimum log level to control what gets printed.

Example:

const logger = createLogger({ level: 'warn' });
logger.info('Will NOT be shown');
logger.warn('This will be shown');

LoggerOptions

| Option | Type | Default | Description | |--------------|-------------|-----------------|-----------------------------------------| | level | LogLevel | info | Minimum log level to display | | logToFile | boolean | false | Enable/disable file logging | | logFilePath| string | "./ado.log" | Path to log file (when logToFile is true) |


Methods

Each log level has its own method:

logger.error("Fatal error occurred");
logger.warn("Low disk space");
logger.notice("User account created");
logger.http("GET /api/items");
logger.info("Starting application");
logger.verbose("Loaded 3 modules");
logger.silly("Variable x = 42");
You can also use the generic .log(level, message) method:
logger.log("error", "This is equivalent to logger.error()");

📁 File Logging

Enable file output by setting logToFile: true and providing logFilePath:

const logger = createLogger({
  logToFile: true,
  logFilePath: "./logs/output.log"
});

If the file doesn’t exist, it will be created.


💡 Best Practices

  • Use "silly" and "verbose" in development only.
  • Log to file for audit trails and production issues.
  • Use "http" for request tracing in Express/Koa apps.
  • Keep log level to "warn" or "error" in CI/CD and tests.

🛠️ Contributing

  • Fork the repo
  • Create a feature branch
  • Make changes and add tests
  • Run npm run build && npm run test
  • Submit a pull request

📜 License

© Adovelopers


📍 Links


Built with ❤️ by Adovelopers