1.1.2 • Published 10 years ago

stipes v1.1.2

Weekly downloads
2
License
ISC
Repository
github
Last release
10 years ago

Overview

This is a simple little module to write pretty things to the console and help you stay sane.

NOTE All stipes logging uses pretty colors. Colors are not, however, included in the examples below :disappointed:

Usage

Simple messages

stipes = require 'stipes'

stipes.debug 'Richard', "WHAT'S HAPPENING?!"

This will output DEBUG(Richard) WHAT'S HAPPENING?!

JSON data

stipes = require 'stipes'

stipes.error 'Postgres', 'ran into an error', error

This willl output the following:

ERROR(Tester) ran into an error
  -code: 314159
  -message: Expected cake

Available methods

  1. success - When good things happen
  2. warn - When strange things happen
  3. error - when the world ends
  4. notice - just so you're aware
  5. debug - To help you work through a tough spot
1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago