UNPKG

tap-debug

Version:

Debug/trace output of a function. For use with the tap() method of promises and functional programming pipelines.

6 lines (3 loc) 152 B
var tapDebug = require('./src/tap-debug'); var defaultLog = console.log.bind(console) module.exports = tapDebug(defaultLog, { stringifyValue: true })