A JavaScript (Node.js) library for IRC, with almost full RFC 2813 support.
Documentation is published at https://clausjoergensen.github.io/jsIRC
npm install jsirc
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': 'archchancellor@unseen-university.edu',
'realName': 'Mustrum Ridcully'
})