slate-irc-parser
v0.1.6
Published
Streaming IRC message parser
Downloads
95
Readme
slate-irc-parser
Streaming IRC message parser.
pnpm add -D slate-irc-parser
import Parser from 'slate-irc-parser'
import net from 'net'
const client = net.connect({
port: 6667,
host: 'irc.freenode.org'
})
const parser = new Parser()
client.pipe(parser)
parser.on('message', (msg) => {
console.log(msg)
})
MIT License