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

discobot

v0.0.20

Published

bot 4 discord

Readme

Discobot

A chat bot for Discord

Build Status npm version Code Climate Dependency Status devDependency Status npm downloads js-standard-style Stories in Ready

Usage:

  • Install: npm install -g discobot
  • Use: DISCORD_EMAIL=foo DISCORD_PASSWORD=bar discobot

Use HAILING + BOT_NAME + COMMAND to talk to your bot

Example: !bot help

Configuration

Discobot will read these config variable in from a .config file that is json formatted. So you can create a file that looks like the following with your configuration options in it.

{
    "RIOT_API_KEY": "xxx",
    "GOOGLE_CSE_ID": "xxx",
    "IMGFLIP_USER": "xxx",
    "IMGFLIP_PASSWORD": "!xxx",
    ... etc
}

You can also pass config variables in on the cli when running the bot like so:

HAILING='!' BOT_NAME='' DISCORD_EMAIL=xxx DISCORD_PASSWORD=xxx DISCORD_VOICE_CHANNEL=General discobot

List of Configuration options:

|environment variable|default|required| |---|---|---| |DISCORD_EMAIL| - | yes | |DISCORD_PASSWORD| - | yes | |DISCORD_GUILD| Will connect to first guild in accounts roster | - | |DISCORD_VOICE_CHANNEL| Will connect to the General voice channel | - | |DISCORD_TEXT_CHANNEL| Will connect to the general voice chat | - | |BOT_NAME| bot | - | |HAILING| ! | - | |NO_HAILING| false | - | |IMGFLIP_USER| - | - | |IMGFLIP_PASSWORD| - | - | |GOOGLE_KEY| - | - | |GOOGLE_CSE_ID| - | - | |RIOT_API_KEY| - | - |

Note that DISCORD_GUILD, DISCORD_VOICE_CHANNEL and DISCORD_TEXT_CHANNEL can be either names or IDs

Bot Commands

Use !bot help to get a list of commands, or take a peek at the /src/modules/ directory

Development

This is a truly open project!

Pull requests will be merged and we will happily give out contributor access to those who contribute!

We have prizes for anyone that contributes code!

| Lines Contributed | Prize | | |--------------------|---------------------------|------------------------------------------------------------------------------------------| | 50 | Discobot Sticker | ![](http://i.imgur.com/9lnhBPp.jpg =50x50) | | 100 | Discobot T-Shirt | ![](http://i.imgur.com/5F36IbQ.jpg =50x50) ![](http://i.imgur.com/1MOyG1K.jpg =50x50)|