i want to watch all the transactions that are happening in the bitcoin network. i am using bitcoin npm package.. how can i use nodejs to do it? i am looking for something similar to this:
var someLib = require('some-bitcore-lib')
someLib.on('transaction-found', function(){
// print everything
console.log(arguments);
// do something else;
})