Skip to content

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

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages