events-stream

A stream of DOM events

events-stream

A stream of DOM events

var events = require("events-stream")
 
// Keys is a readable stream that emits all keypress events dispatched from
// document.body
var keys = events(document.body, "keypress")

npm install events-stream

  • Raynos