Socket
Socket
Sign inDemoInstall

seshat

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

seshat

Colorful Logging


Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

Seshat Module

Basic logging module for node with colorful console logging

Getting Started

Start by installing seshat:

npm install seshat --save

Next, require it in your module and register with your module name:

var seshat = require("seshat").register("module_name");

Whenever you want to log output to your console use any of the following:

seshat.log("Normal message");
seshat.info("Blue tinted message");
seshat.warn("Yellow tinted message");
seshat.error("Red tinted message");

// You can also use more colors:
seshat.log("Your message here", seshat.colors.green); // for green
seshat.log("Your message here", seshat.colors.magenta); // for magenta

// There are also options for bolding, underlining and greyscale
seshat.log("Your message here", seshat.colors.bold); // for bolded text
seshat.log("Your message here", seshat.colors.italic); // for italicized

Keywords

FAQs

Package last updated on 05 Mar 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc