v3.0.0
Stream all the things!
-
I've deprecated irc-message-stream in favour of transforming this into a stream-first module. You can now create a Transform object-mode stream that line-buffers data, and emits parsed messages. This is accessed via
ircMsg.createStream()
.I highly encourage you to this out unless you really need to parse individual messages. You can see usage examples in the README - and trust me, it's super simple.
-
Parser access is still available if needed, via
ircMsg.parse()
(previouslyircMsg.parseMessage()
) -
IRCMessage
object is no more. `ircMsg.parse()`` returns an object literal instead.- If you need prefix parsing whilst streaming, use
ircMsg.createStream({ parsePrefix: true })
to enable it - If you don't want to use the stream interface, you can use irc-prefix-parser to parse it
- If you need prefix parsing whilst streaming, use