A live stream of page edits on Wikipedia.
npm install wikipedia-edits-stream
Refer to the manual on the edits format for more info.
const edits = require('.')
const e = edits()
e.on('data', console.log)
e.on('error', (err) => {
console.error(err)
process.exit(1)
})
setTimeout(() => e.close(), 10 * 1000)
If you have a question, found a bug or want to propose a feature, have a look at the issues page.