0.2.6 • Published 6 years ago

o1 v0.2.6

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

o1

Generated with nod NPM version Build Status Coverage Status

From object to one liner & minimalistic log

Install

$ npm install --save o1

Usage

import log from "o1";

// doge: good, cat: slightly bad
log({ doge: "good", cat: "slightly bad" });

// doge: good - cat: slightly bad
log({ doge: "good", cat: "slightly bad" }, { separator: ' - ' });

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 log
  • config (optional, default {})

Returns any Converted one line log

License

MIT © Joshua Tonga

0.2.6

6 years ago

0.2.5

6 years ago

0.2.4

6 years ago

0.2.3

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago

1.0.2

6 years ago