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

sign-logger

v2.3.5

Published

A simple but nice looking logger for 16 bit color consoles!

Readme

Sign-Logger

The best JS/TS logger out there, with everything that you need; ExpressJS, typeorm etc.

Table of contents:

What's new

TypeOrm, ExpressJS and Mongoose support is here!

After almost 10 months without updates, sign-logger is finally getting an update! This update will be primarily focused at:

  1. Adding support for TypeOrm Query logging (see here for more information)
  2. Adding support for Express logging (see here for more information)
  3. Adding support for Mongoose logging (see here for more information)
  4. Deciding if the Transformer should be kept in the library or not
  5. Clean up & Bug fixes
If you used sign logger before, you might not recognize the new style of code being used, this revamp was made due to the author not being happy with the looks and mechanics.
  1. Sign logger is now split into two classes - Logger and the Transformer! (See the difference here)
  2. The logger also comes with internal logs for debugging (optional)
  3. New fail-safe for possible undefined objects/properties
  4. No constructor, instead the logger uses methods to customize the logs

Installation

npm install sign-logger

Getting started

Simple error log ES6:

import { Logger } from "sign-logger";

const logger = new Logger();
logger.error("BEEP BOOP! ERROR!"); // [2020-11-27 16:55]  <Error>  BEEP BOOP! ERROR!

Transform usage

import { Transformer } from "sign-logger";

const transformer = new Transformer();
console.log(transformer.error("This RETURNS the value, it does not log it!")); // [2020-11-27 16:55]  <Error>  This RETURNS the value, it does not log it!

Express

import { Logger } from "sign-logger";
import express from "express";

const app = express();
const logger = new Logger();

app.use(logger.ExpressJS());

app.get("/", (req, res) => {
    res.send("Hello world!");
})

app.listen(8080, () => logger.info("Server listening on 8080!"));

Now go to localhost:8080 and bam! The request has been logged

TypeOrm

import { Logger } from "sign-logger";
import { createConnection } from "typeorm";

const logger = new Logger();

createConnection({
    logger: logger.TypeOrmLogger
    // ...
})

That's it!

Mongoose

import { Logger } from "sign-Logger";
import mongoose from "mongoose";

const logger = new Logger();

mongoose.set("debug", logger.Mongoose())
// ...

That's all you need! Note: This has not been fully tested yet, so expect bugs and please report them here

Changelog

  • 2.3.5

Added support for mongoose logging, have any suggestions on other libs we can support? Tell us in an issue!

  • 2.3.4

Changed the way you call <Logger>.ExpressJS and changed the license. TODO: Add different modes of logging

  • 2.3.3

Removed an internal debugging log

  • 2.3.2

Bug fixes for ExpressJS involving problems with this

Authors

Collbrothers