Skip to content
This repository has been archived by the owner on Dec 28, 2018. It is now read-only.

Latest commit

 

History

History
45 lines (34 loc) · 939 Bytes

README.md

File metadata and controls

45 lines (34 loc) · 939 Bytes

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