Skip to content

Streaming IRC message parser for nodejs

Notifications You must be signed in to change notification settings

slate/slate-irc-parser

Repository files navigation

slate-irc-parser version downloads

Streaming IRC message parser.

pnpm add -D slate-irc-parser
import Parser from 'slate-irc-parser'
import { connect } from 'node:tls'

const parser = new Parser()
parser.on('message', (msg) => {
  console.log()
  console.log(msg)
})

const client = connect({
  port: 6697,
  host: 'irc.libera.chat',
})
client.pipe(parser)

To see more examples, please check the examples directory.


MIT License

About

Streaming IRC message parser for nodejs

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •