项目
在 GitHub 查看 slate-irc
slate/slate-irc
关于
Node.js IRC client library
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文slate-irc

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.
探索相关项目
加载中…