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

hubot-mubot

v0.0.12

Published

Mubot, A Marking U Bot.

Readme

Mubot, A Marking U Bot.

Status // Version

Build Status npm version

Chat

Join the chat at https://gitter.im/ileathan/hubot-mubot

See src/mubot.coffee for full documentation.

Quick Installation

npm install hubot-mubot --save

This must be executed from within the directory where you installed hubot. Please read the Full instalation since you should probably edit the package.json file which is in that same directory.

Full Instalation

If you do not already have nodejs installed do that now like so: (For trouble shooting see: Installing node.js)

sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup | bash -
sudo apt-get install -y nodejs

If you do not already have hubot installed do that now like so: (I entered 'irc' as my adapter NOT the default)

npm install -g hubot coffee-script yo generator-hubot
mkdir -p /path/to/mubot
cd /path/to/mubot
yo hubot

-THIS STEP IS NEEDED- From within the directory that you ran yo hubot run: (Inside your /path/to/mubot)

npm install hubot-mubot --save

Then edit your external-scripts.json file and add hubot-mubot. Afterwords my file looks like this.

[
  "hubot-mubot",
  "hubot-diagnostics",
  "hubot-help",
  "hubot-heroku-keepalive",
  "hubot-google-images",
  "hubot-google-translate",
  "hubot-pugme",
  "hubot-maps",
  "hubot-redis-brain",
  "hubot-rules",
  "hubot-shipit",
  "hubot-youtube"
]

To set your initial balance see Troubleshooting.

Starting your mubot

If during setup of your hubot you selected the irc adapter as i did then this is how you would launch your mubot:

HUBOT_ADAPTER=irc HUBOT_IRC_SERVER=irc.swiftirc.net HUBOT_IRC_ROOMS="#AxE" HUBOT_IRC_NICK="Mubot" HUBOT_IRC_UNFLOOD="true" bin/hubot -a irc

Alternatively you can add export statements in your /.bashrc file.

Sample Interaction

leathan>> mubot marks
Mubot>> You have <amount> marks!

Troubleshooting

Q.) I get the following error ERROR TypeError: Cannot read property '...' of undefined

A.) You need to set your initial balance, open the file src/marking.coffee and find the line:

    robot.brain.resetSaveInterval(1) 

Then add this line after the above line:

    robot.brain.data.credits['...'] ?= <amount>

For example, for me that part of src/marking.coffee looks like:

module.exports = (robot) ->
  robot.brain.on 'loaded', ->
    robot.brain.data.credits ?= {}
    credits = robot.brain.data.credits or {}
    robot.brain.resetSaveInterval(1) 
    robot.brain.data.credits['irc://[email protected]/'] ?= 12000

Q.) For further questions.

A.) Visit #AxE @ irc.swiftirc.net