seshat

0.0.5 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.5
    9
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.5
    9
  • 0.0.4
    3
  • 0.0.3
    3

Package Sidebar

Install

npm i seshat

Weekly Downloads

13

Version

0.0.5

License

Apache-2.0

Last publish

Collaborators

  • micahr