Skip to main content
Home

@csha/irc@0.6.1

It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
47%
Published
8 months ago (0.6.1)

@csha/irc

A modernized fork of npm:irc.

import { Client } from "@csha/irc";

const client = new Client("irc.libera.chat", "my-irc-bot", {
  channels: ["#my-irc-bot-test"],
});

client.addListener("message", (from: string, to: string, message: string) => {
  console.log(from + " => " + to + ": " + message);
  client.say(to, "I'm a bot!");
});

client.addListener("pm", (from: string, message: string) => {
  console.log(from + " => ME: " + message);
  client.say("csha", "I'm a bot!");
});

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@csha/irc

Import symbol

import * as irc from "@csha/irc";
or

Import directly with a jsr specifier

import * as irc from "jsr:@csha/irc";

Add Package

pnpm i jsr:@csha/irc
or (using pnpm 10.8 or older)
pnpm dlx jsr add @csha/irc

Import symbol

import * as irc from "@csha/irc";

Add Package

yarn add jsr:@csha/irc
or (using Yarn 4.8 or older)
yarn dlx jsr add @csha/irc

Import symbol

import * as irc from "@csha/irc";

Add Package

vlt install jsr:@csha/irc

Import symbol

import * as irc from "@csha/irc";

Add Package

npx jsr add @csha/irc

Import symbol

import * as irc from "@csha/irc";

Add Package

bunx jsr add @csha/irc

Import symbol

import * as irc from "@csha/irc";