This repository has been archived on 2026-03-31. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
jsmag/events/listing_3.js
Ryan McGrath 5ed915c6c5 Initial
2011-02-18 04:25:06 -05:00

13 lines
314 B
JavaScript

var util = require('util'),
http = require('http'),
events = require('events');
var TwitterStream = function(opts) {
this.username = opts.username;
this.password = opts.password;
this.track = opts.track;
this.data = '';
};
TwitterStream.prototype = new events.EventEmitter;
module.exports = TwitterStream;