1.0.6 • Published 7 years ago

tap-log v1.0.6

Weekly downloads
30
License
UNLICENSED
Repository
github
Last release
7 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

7 years ago

1.0.5

7 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago