node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

slate-irc

slate-irc Build Status Version

General purpose IRC client for nodejs. See documentation for the details.

  • Plugin system
  • Simple api
  • Arbitrary input stream
  • DEBUG support for easy debugging
$ npm install --save slate-irc
var irc = require('slate-irc');
var net = require('net');
 
var stream = net.connect({
  port: 6667,
  host: 'irc.freenode.org'
});
 
var client = irc(stream);
 
client.pass('pass');
client.nick('tobi');
client.user('tobi', 'Tobi Ferret');
 
client.join('#express');
client.names('#express', function(err, names){
  console.log(names);
});

MIT License