ircc
v0.3.0
Published
IRC connection library.
Downloads
3
Readme
Ircc is a modular IRC client library for Node.js. It consists of the following modules:
parser
andserializer
, which convert IRC message strings into objects and vice-versa.ParserStream
andSerializerStream
, which simplifies connecting theparser
andserializer
to aSocket
.Connection
, which makes it easy to set up and break down an connection to an IRC server.ConnectionServer
andConnectionClient
, which allow you to decouple the Connection from your bot code. Amongst other things, this makes it possible to reload your bot without breaking the connection to the IRC server.- The
ircc
command, which starts aConnectionServer
.
This modular approach allows you to use or extend ircc at whichever level of abstraction you need. It also makes unit testing a breeze.
Keep in mind that ircc is a work in progress. There are other, more complete IRC libraries for Node. See e.g. node-irc and IRC-js.
Ircc has one optional dependency, dnode
, which is needed for the ConnectionServer
and ConnectionClient
. It has no other dependencies and runs on Node.js 0.9.8 and above.