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

rollbot

v0.1.0

Published

D20 dice roller irc bot using Random.org

Readme

Rollbot.js

Commands:

  • !roll D20 - rolls twenty sided die.
  • !roll D12 - rolls a twelve sided die.
  • !roll D10 - rolls a ten sided die.
  • !roll D8 - rolls an eight sided die.
  • !roll D6 - rolls a six sided die.
  • !roll D4 - rolls a four sided die.
  • !roll d% - rolls a hundred sided, or percentile die.
  • !flip - Returns result of coin flip.

Multiple dice rolls can be joined on a single line.

!roll 3d20 2d8 d%

The result of that command may be something like this:

 d20: 3 15 12 d8: 3 8 d%: 75

Tech

  • node.js - evented I/O for the backend
  • node-irc - An irc client for node.
  • rand20 - D20 dice set based roller using Random.org api
  • request - HTML enhanced for web apps!
  • command-line-args - A mature, feature-complete library to parse command-line options.
  • Random.org - true random number generator.

Installation

Requires Node.js v4+ to run.

via npm:

$ cd you_project
$ npm install nodeRollBot

Running

The bot uses the following command-line arguments:

  • --botName=desiredBotName
  • --key=random.orgApiKey
  • --network=ircNetwork(default irc.geekshed.net)
  • --channel=channelName
node rollbot.js --key=Random.orgApiKey --botName=botName --channel=#channel1 --channel=#channel2 --network=ircNetwork

Docker

To get up and running with a rollbot.

docker run --name myrollbot -d -p 6667:6667 jordansinn/rollbot:latest node rollbot.js --network=myIrcNetwork --botName=myBotName --channel=myChannel1 --channel=myChannel2 --key=myRandom.orgApiKey

To build from Dockerfile.

docker build -t my-rollbot-app .

Todos

  • Docker install.
  • Add ability to private message Game Masters

Reccomended IRC Networks

License

Apache License Version 2.0