o1
From object to one liner & minimalistic log
Install
$ npm install --save o1
Usage
; // doge: good, cat: slightly bad; // doge: good - cat: slightly bad;
API
Table of Contents
log
Will output a one line string of the keys and values of the passed object
in the format of key: value, key:value...
.
Parameters
obj
Object to convert to a one line logconfig
(optional, default{}
)
Returns any Converted one line log
License
MIT © Joshua Tonga