bbc/node-irc

Name: node-irc

Owner: BBC

Description: Node.js socket wrapper for the IRC protocol (client-side)

Forked from: bleakgadfly/node-irc

Created: 2017-09-14 15:34:39.0

Updated: 2017-09-14 15:34:40.0

Pushed: 2017-09-25 12:25:55.0

Homepage:

Size: 23

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

node-irc

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.
install node-irc
Import node-irc.
ircClient = require('node-irc');
Pass in the server, port, nickname and fullname as parameters to the constructor.
client = new ircClient('irc.freenode.net', 6667, 'SomeNick', 'SomeFullname');
Add an event handler for what to do When the server is ready, like joining a channel and say something weird.
nt.on('ready', function () {
ient.join('#Node.js');
ient.say('#Node.js', 'I see node people fart.');

Connect to the server
nt.connect()
More details

See samples and wiki


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.