README
cycle-time-travel
cycle-time-travel
is a time travelling stream viewer for Cycle.js apps.
Why you should be excited:
- It makes it easy to see data flowing through your Cycle.app
- You can pause, and even rewind time by dragging on the stream bar
- With hot module reloading, you could even fix your mistakes from the past!
A video is worth a thousand bullet points:
Okay, I'm in!
Great. Now just npm install cycle-time-travel
and you can begin your mastery over time itself!
How do I use it?
The API is simple, and does two things. Displaying streams, and controlling time.
import makeTimeTravel from 'cycle-time-travel'
makeTimeTravel
takes a DOM
observable, and an array of streams to be displayed/controlled, in the form of {stream: stream$, label: 'stream