jsirc

0.0.1 • Public • Published

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

/jsirc/

    Package Sidebar

    Install

    npm i jsirc

    Weekly Downloads

    4

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    146 kB

    Total Files

    20

    Last publish

    Collaborators

    • claus.joergensen