0.1.0 • Published 4 years ago
@chibicode/logchain v0.1.0
logchain
Does console.log(obj)
and returns obj
. Automatically calls toJS
on Immutable.js objects as well.
// Does console.log({ a: 1 })
logchain({ a: 1 }).a // returns 1
I wrote this b/c I tried to google for something like this and couldn't find one. Let me know via Twitter (@chibicode) if you know a good alternative.
0.1.0
4 years ago