twitstream

Twitter streaming module which *I* like

npm install twitstream
4 downloads in the last week
8 downloads in the last month

twitstream

Twitter streaming module which I like.

Usage

Creating a client

Create a client tracking nodejs search term.

var twitstream = require('twitstream');
var stream = twitstream({
  auth: {
    token: '...',
    tokenSecret: '...',
    consumerKey: '...',
    consumerSecret: '...'
  },
  track: ['hockey']
});

Read tweets

stream.on('readable', function () {
  var tweet = stream.read();
  console.log(JSON.stringify(tweet));
});
npm loves you