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

@curatedotfun/discord

v0.0.1

Published

Discord plugin for curatedotfun

Readme

💬 Discord Plugin

The Discord plugin enables distribution of curated content to Discord channels.

🔧 Setup Guide

  1. Create a Discord bot and get its token:

    • Go to the Discord Developer Portal
    • Click "New Application" and give it a name
    • Go to the "Bot" section and click "Add Bot"
    • Under the bot's token section, click "Copy" to get your bot token
    • Enable the "Message Content Intent" under Privileged Gateway Intents
  2. Get your channel ID:

    • Enable Developer Mode in Discord (User Settings > Advanced > Developer Mode)
    • Right-click on the channel you want to post to and select "Copy ID"
  3. Modify your curate.config.json to include the Discord configuration:

    {
      "outputs": {
        "stream": {
          "enabled": true,
          "distribute": [
            {
              "plugin": "@curatedotfun/discord",
              "config": {
                "botToken": "{DISCORD_BOT_TOKEN}",
                "channelId": "123456789012345678"
              }
            }
          ]
        }
      }
    }

    The container is already set up with the Discord bot token, which handles the API requests from the bot to your Discord channel. It automatically gets hydrated into the curate.config.json on start-up, replacing {DISCORD_BOT_TOKEN}.

    You need to specify:

    • channelId: Your Discord channel ID (e.g., 123456789012345678)

    These values can be shared publicly.

  4. Add the bot to your server:

    • Go to OAuth2 > URL Generator in your bot's settings
    • Select the "bot" scope
    • Select the "Send Messages" and "Read Message History" permissions
    • Use the generated URL to add the bot to your server
  5. Enable the stream by setting "enabled": true if not already enabled.

    Once merged, your approved messages will start flowing to the configured Discord channel.

    :::tip If your stream had been disabled and you have existing, approved curations, call /api/feeds/:feedId/process to process them. :::

📝 Configuration Reference

Full configuration options for the Discord plugin:

{
  "plugin": "@curatedotfun/discord",
  "config": {
    "botToken": "{DISCORD_BOT_TOKEN}", // Automatically injected
    "channelId": "123456789012345678" // Your Discord channel ID
  }
}