Carp
A JS IRC library
Install using npm install carpjs
here
More documentation is available as a JSDocExample usage:
To connect to a server, create a client using the Carp.Client
interface;
const client = username: "MyBot"
Then, connect to a server;
client
When the client has logged in, join a channel;
client
When the client joins the channel, you can get the channel and respond to messages;
client