node package manager

slate-irc-message-stream

slate-irc-message-stream

A tiny Stream interface for irc-message that converts it to work with slate-irc.

Installation

npm install slate-irc-message-stream

Usage

var irc = require('slate-irc');
var SlateMessageStream = require('slate-irc-message-stream');
var net = require('net');
 
var stream = net.connect({
  port: 6667,
  host: 'irc.freenode.org'
});
 
var messageStream = new SlateMessageStream();
 
var client = irc(stream, messageStream);