slate-irc
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/slate-irc package

0.9.3 • Public • Published

slate-irc version downloads

General purpose IRC client for nodejs. See documentation for the details.

  • Plugin system
  • Simple api
  • Arbitrary input stream
  • DEBUG support for easy debugging
npm install --save slate-irc-parser
yarn add -D slate-irc-parser
import irc from 'slate-irc'
import net from 'net'

const stream = net.connect({
  port: 6667,
  host: 'irc.freenode.org'
})

const client = irc(stream)

client.pass('pass')
client.nick('tobi')
client.user('tobi', 'Tobi Ferret')

client.join('#express')
client.names('#express', (err, names) => {
  console.log(names)
})

MIT License

Dependencies (2)

Dev Dependencies (5)

Package Sidebar

Install

npm i slate-irc

Weekly Downloads

18

Version

0.9.3

License

MIT

Unpacked Size

100 kB

Total Files

6

Last publish

Collaborators

  • simnalamburt
  • tjholowaychuk
  • erming