1.0.0 • Published 8 years ago

proteusjs-console v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

proteusjs-console

proteusjs-console is a transform stream useful for turning proteusjs server, database and http call events into formatted strings.

Build Status codecov Current Version

Lead Maintainer: Jai Kishan

Usage

new ProteusjsConsole([config])

Creates a new ProteusjsConsole object with the following arguments:

  • [config] - optional configuration object with the following keys - format - MomentJS format string. Defaults to 'YYMMDD/HHmmss.SSS'. - utc - boolean controlling Moment using utc mode or not. Defaults to true. - color - a boolean specifying whether to output in color. Defaults to true.

Output Formats

Below are example outputs for the designated event type: