0.0.1 • Published 6 years ago

jsirc v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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': 'archchancellor@unseen-university.edu',
  'realName': 'Mustrum Ridcully'
})

License

MIT License

Acknowledgements

0.0.1

6 years ago