Skip to content
Proyek

Tentang

Node.js IRC client library

Alat pengembangan

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

slate-irc version downloads

General purpose IRC client for nodejs. See documentation for the details.

  • Plugin system
  • Simple api
  • Arbitrary input stream
  • DEBUG support for easy debugging
pnpm add -D slate-irc-parser
import irc from "slate-irc";
import { connect } from "node:tls";

const stream = connect({
  port: 6697,
  host: "irc.libera.chat",
});

const client = irc(stream);

// logger
client.use((irc) => {
  irc.stream.pipe(process.stdout);
});

client.pass("pass");
client.nick("tobi");
client.user("tobi", "Tobi Ferret");
client.join("#express");
client.names("#express", (_err, names) => {
  console.log(names);
});

To see more examples, please check the examples directory.

 


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

Jelajahi proyek terkait

Memuat…