Skip to content

Streaming IRC message parser for nodejs

License

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.

 


slate-irc-parser is primarily distributed under the terms of the MIT license. See COPYRIGHT for details.

About

Streaming IRC message parser for nodejs

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors