Socket
Book a DemoInstallSign in
Socket

slate-irc

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slate-irc

General purpose IRC client

latest
Source
npmnpm
Version
0.9.6
Version published
Maintainers
3
Created
Source

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.

Keywords

irc

FAQs

Package last updated on 14 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts