Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Node.js socket wrapper for the IRC protocol (client-side)
branch: master
Failed to load latest commit information.
lib Changed log code for pingHandler
samples Updated samples
LICENSE Added license Update
package.json Improved package.json, bumped version number


node-irc is a socket wrapper for the IRC protocol that extends Node.js' EventEmitter. node-irc aims to be an efficient, extremely easy to use IRC library used to build bots and clients.

Get started

Install node-irc with npm.

npm install node-irc

Import node-irc.

var ircClient = require('node-irc');

Pass in the server, port, nickname and fullname as parameters to the constructor.

var client = new ircClient('', 6667, 'SomeNick', 'SomeFullname');

Add an event handler for what to do When the server is ready, like joining a channel and say something weird.

client.on('ready', function () {
  client.say('#Node.js', 'I see node people fart.');

Connect to the server


More details

See samples and wiki

Something went wrong with that request. Please try again.