npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

node-red-node-irc

v0.1.0

Published

A Node-RED node to talk to an IRC server

Readme

node-red-node-irc

A Node-RED node to talk to an IRC server.

Note : This is the same node as was in the core of Node-RED. As of v0.10.8 you will need to install it from here if still required.

Install

Run the following command in your Node-RED user directory - typically ~/.node-red

npm install node-red-node-irc

During install there may be multiple messages about libiconv charset support. These may look like failures... as they report as failure to compile errors - but are warnings and the node will continue to install and, assuming nothing else failed, you'll be able to use it, just without the character set features. You may of course manually install the extra dependancies as per the warnings, but they may not be available on all platforms.

Usage

Provides two nodes - one to receive messages, and one to send.

Input

Connects to an IRC server to receive messages.

The IRC Server field needs to be configured to a valid server, and you must select a default channel to join. You may join multiple channels by comma separating a list - #chan1,#chan2,#etc.

Incoming messages will appear as msg.payload on the first output, while msg.topic will contain who it is from. msg.to contains either the name of the channel or PRIV in the case of a pm.

The second output provides a msg.payload that has any status messages such as joins, parts, kicks etc.

The type of the status message is set as msg.payload.type. The possible status types are:

  • message : message is sent into the channel
  • pm : private message to the bot
  • join : a user joined the channel (also triggered when the bot joins a channel)
  • invite : the bot is being invited to a channel
  • part : a user leaves a channel
  • quit : a user quits a channe
  • kick : a user is kicked from a channel

Output

Sends messages to a channel on an IRC server.

You can send just the msg.payload, or the complete msg object to the selected channel, or you can select to use msg.topic to send the msg.payload to a specific user (private message) or channel.

If multiple output channels are listed (eg. #chan1,#chan2), then the message will be sent to all of them.

Note: you can only send to channels you have previously joined so they MUST be specified in the node - even if you then decide to use a subset of them in msg.topic

You may send RAW commands using msg.raw - This must contain an array of parameters - eg.

["privmsg","#nodered","Hello world"]