1.0.6 • Published 6 years ago

tap-log v1.0.6

Weekly downloads
30
License
UNLICENSED
Repository
github
Last release
6 years ago

tap-log

Log the given prefix and value, then return value. Useful for debugging functional pipelines.

#Example Usage:

const tapLog = require('tap-log')
const R = require('ramda')

R.pipe(
    R.add(2),
    tapLog(),
    R.multiply(3),
    tapLog('final answer')
)(3)
// -> outputs '5' and 'final answer: 15' to console & evaluates to 15
1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago