jsirc
v0.0.1
Published
JavaScript IRC Client
Downloads
5
Readme
jsIRC
A JavaScript (Node.js) library for IRC, with almost full RFC 2813 support.
Documentation
Documentation is published at https://clausjoergensen.github.io/jsIRC
Installation
npm install jsirc
Usage
let client = new IrcClient()
client.on('registered', () => {
client.localUser.on('joinedChannel', (channel) => {
channel.sendMessage("What's for lunch?")
})
client.joinChannel('#greathall')
})
client.connect('irc.quakenet.org', 6667, {
'nickName': 'Ridcully',
'userName': '[email protected]',
'realName': 'Mustrum Ridcully'
})