streamydoo
v0.0.2-1
Published
Easy streaming module
Downloads
3
Readme
Usage
npm install streamydoo
import Streamydoo from 'streamydoo'
const streamer = new Streamydoo('/some-stream-url')
streamer.on('data', value => {
console.log(`New data: ${value}`)
})
streamer.on('end', () => {
console.log('All done!')
})
streamer.send()