slate-irc-parser

Low-level general purpose IRC client

npm install slate-irc-parser
4 downloads in the last day
41 downloads in the last week
458 downloads in the last month

slate-irc-parser

Streaming IRC message parser.

Installation

$ npm install slate-irc-parser

Example

var Parser = require('slate-irc-parser');
var net = require('net');

var client = net.connect({
  port: 6667,
  host: 'irc.freenode.org'
});

var parser = new Parser;

client.pipe(parser);

parser.on('message', function(msg){
  console.log();
  console.log(msg);
});

License

MIT

npm loves you