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

plugdj-nodebot

v0.1.2

Published

A bot for PlugDj which help to manage the room even when no mods are presents.

Readme

plugdj-nodebot

NPM

A Plug.dj bot which allow you to do multiple moderations actions faster. It also moderate the room when no admins are here. It is open-source so you can edit it like you want.

How to use it ?

Using NPM:

npm install plugdj-nodebot
cd node_modules/plugdj-nodebot
node nodebot

Using Github:

  • The bot needs Node.js to work.
  • The bot uses PlugAPI so you'll need it before running the bot.
  • After that, you need to download the bot. The entire bot is in the nodebot.js
  • Now, open the nodebot.js file and add the name of your room (only the name without the / ), the email of the bot account and it password.
  • The bot should now be connected to your room and will detect commands starting by !

IMPORTANT: Make sure you've edited the nodebot.js to add the bot's account informations and the room name

    var ROOM = "foo"; // Room name here (https://plug.dj/foo will be foo) Line 5
AND
    "email": "[email protected]", // Line 1O
    "password": "password" // Line 11
    // If you have a HTTP 401 error, your user/pass is incorrect

Note: Make sure you change the role of the bot to Manager and you've restarted it after.

List of commands

  • !ban (username[,time,reason]): Ban an user. Time should only be h for an hour (60minutes), d for a day (24hours) or f forever (Long long time). Reason should only be spam/troll/abuse/offensive/badsong/badtheme/negative. Default time is Forever and default reason is Spam/Troll. (Manager to Host).
  • !commands: Show a link to this readme.
  • !link: Send the link of the current song in the chat (Current DJ or Resident DJ to Host).
  • !skip: Forceskip the song if your rank is highest than Resident DJ or if you're DJ (Current DJ or Bouncer to Host). If you're not, it start a vote to skip (None to Resident DJ).
  • !unban (username): Unban an user. (Manager to Host).

New commands are coming soon, let me know if you want another command.

License

This bot is under GNU GENERAL PUBLIC LICENSE, more informations here