functions for tracing and monitoring execution
yarn add trace-t
or
npm install trace-t --save
import trace from 'trace-t'
const x = 42
const r = trace('x is')(x)
// r === x
outputs
x is 42
trace: (...ms: Array<{}>) => <A>(x: A) => A
traceStack: (...ms: Array<{}>) => <A>(x: A) => A
traceUsing: (log: Log) => (...ms: Array<{}>) => <A>(x: A) => A
where
type Log = (...xs: Array<{}>) => void
the base package / Debug.Trace
MIT