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-worldcup

v0.4.5

Published

A hubot script for the World Cup that includes commands and supports @ReplayLastGoal's webhook

Downloads

8

Readme

Hubot World Cup

World Cup commands for hubot!

Installation

Add hubot-worldcup to your package.json file:

"dependencies": {
  "hubot": ">= 2.5.1",
  "hubot-scripts": ">= 2.4.2",
  "hubot-worldcup": ">= 0.0.0"
}

Add hubot-worldcup to your external-scripts.json:

["hubot-worldcup"]

Run npm install hubot-worldcup

Optional Configuration

HUBOT_WC_LIVE_PERMITTED_ROOMS

Commands

# Commands:
hubot wc cards                  - Returns list of suspended players due to cards
hubot wc cards <team acronym>   - Returns list of cards for a given team
hubot wc gifs <timezone>        - Returns gifs related to matches from today in a given timezone
hubot wc gifs recap <timezone>  - Returns gifs related to matches from yesterday in a given timezone
hubot wc group <letter>         - Returns a group's standings
hubot wc live <on/off>          - Turns on or off the interval to get score alerts
hubot wc more <team acronym>    - Returns a link to FIFA to see news, rosters, etc. for a given team
hubot wc odds <timezone>        - Returns the odds for the matches yet to be played in given timezone
hubot wc recap <timezone>       - Returns a score summary from the previous day's matches in given timezone
hubot wc score <timezone>       - Returns the score of the current game in given timezone
hubot wc today  <timezone>      - Returns a list of World Cup matches today for a given timezone
hubot wc tomorrow <timezone>    - Returns a list of World Cup matches tomorrow for a given timezone
hubot wc teams                  - Returns a list of teams in the World Cup
hubot wc <red or yellow> <name> - Give someone a red/yellow card

Webhooks

In addition to the interval polling from hubot wc live on, this includes a webhook for ReplayLastGoal that posts goal announcements and gifs to campfire. If you have your hubot at a public URL, test out your hook here:

http://replaylastgoal.com/hooks/add

Just choose webhook from the dropdown and enter the URL of your hubot with the /worldcup/goal/:room endpoint. Example:

http://your_url_here.com/worldcup/goal/campfire_room_id

Contributing

  • Fork this repo
  • Submit your code to your fork
  • Create a pull request from your fork

API

The API behind this bot is also open source and can be found at:

https://github.com/travisvalentine/worldcup-bot

Feel free to contribute there as well, following the same steps above in Contributing