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 🙏

© 2026 – Pkg Stats / Ryan Hefner

ircserv

v0.9.0

Published

irc server for node.js

Downloads

7

Readme

ircserv (alpha)

A Node.js IRC Server

Introduction

The ircserv project is a module to allow an IRC server to be embedded within a Node.js application. It currently supports all commands and functionality listed in RFC1459, aside from SERVER-SERVER connection functionality.

This implementation is in an alpha state. It still has a few quirks, but is almost entirely faithful to the client side interface described in RFC1459.

Usage

const ircserv = require('ircserv');

const server_config = {
  "logs": "./logs",
  "version": "ircserv.0.8.0-alpha",
  "servername": "your-server-name.example.com",
  "debug": false,
  "operators": {
    "admin":"password"
  },
  "admin_info": {
    "info1" : "Hello! Welcome to our server!",
    "info2" : "http://example.com",
    "email" : "[email protected]"
  }
}

const ircd = new ircserv.Server(server_config);
ircd.listen(6667);

The server takes a server configuration object as input, which will contain the location of your log directory, the OPER username and password, admin info lines, a custom version string and the name of your server.

The listen command will start the server listener. By default, it will listen on port 6667, but you can pass in a custom port number to listen on any avaiable port.

Running Tests

Tests can be run with

npm test

Implemented

  • ✓ ADMIN
  • ✓ VERSION
  • ✓ INFO
  • ✓ NICK
  • ✓ WHO
  • ✓ LIST
  • ✓ JOIN
  • ✓ PART
  • ✓ PRIVMSG
  • ✓ NOTICE
  • ✓ MODE
  • ✓ MODE
  • ✓ +i (invisible)
  • ✓ +s (server notices)
  • ✓ +w (wallops)
  • ✓ -o (remove server op)
  • ✓ MODE
  • ✓ +i (invite)
  • ✓ +o (ops)
  • ✓ +s (secret)
  • ✓ +p (private)
  • ✓ +t (set topic)
  • ✓ +l (user limit)
  • ✓ +m (moderate)
  • ✓ +v (give voice)
  • ✓ +k (channel key)
  • ✓ KICK with privs
  • ✓ TOPIC
  • ✓ WHOIS
  • ✓ OPER
  • ✓ KILL
  • ✓ PING
  • ✓ PONG
  • ✓ QUIT

Not Implemented

  • WHOWAS
  • SERVER
  • SQUIT
  • STATS
  • LINKS
  • ERROR

References

  • https://tools.ietf.org/html/rfc1459
  • https://tools.ietf.org/html/rfc2810
  • https://tools.ietf.org/html/rfc2811
  • https://tools.ietf.org/html/rfc2812
  • https://tools.ietf.org/html/rfc2813
  • https://tools.ietf.org/html/rfc7194
  • https://www.rfc-editor.org/errata/rfc2812