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

@shadow-dev/core

v2.1.0

Published

A modular core framework for Discord bot development, providing commands, buttons, menus, middleware, and more.

Downloads

208

Readme

ShadowCore

GitHub issues GitHub forks GitHub stars GitHub license npm version


🏢 Project Ownership

Effective May 28th, 2025, ShadowCore is officially developed and maintained under Shadow Development LLC.

This reflects the transition from the informal “Shadow Development” name to a legally registered entity.
The transition does not affect licensing, project goals, or community involvement — only formal ownership.


📘 Overview

ShadowCore is a modular, extensible framework for building large-scale Discord bots with a strong focus on:

  • clean architecture
  • plugin-driven extensibility
  • predictable load order
  • execution safety
  • long-term maintainability

ShadowCore is designed to scale beyond single-bot projects and supports multi-plugin ecosystems with minimal boilerplate.


🌟 Core Features

  • 🧩 First-Class Plugin System
    Dynamically load commands, buttons, menus, and events from plugins using the same module system as core components.

  • ⚙️ Automatic Component Registration
    Core and plugin components share a unified auto-registration pipeline — no manual wiring required.

  • 🧠 Event Bus
    Priority-based internal event system for decoupled communication between core systems and plugins.

  • 🚀 Modular Command System
    Commands are auto-discovered from categorized folders with built-in middleware support.

  • 🎛 Dynamic Button & Menu Handling
    Supports dynamic custom IDs (e.g. feature:action:{id}) for scalable interaction handling.

  • 🛡 Execution Isolation
    Plugin and command failures are safely contained so one component cannot crash the bot.

  • 🛠 Middleware Pipeline
    Pre- and post-execution middleware with deterministic ordering.

  • Rate Limiting & Cooldowns
    Built-in mechanisms to prevent spam and abuse.

  • 🌐 Utility Modules
    Axios-based API helpers, logging utilities, task scheduling, and general helpers.

  • 🔐 Security Utilities
    Includes Argon2 password hashing, JWT helpers, and HMAC signing utilities.


🚀 Getting Started

To get started with ShadowCore, follow the step-by-step setup guide in the documentation:

➡️ Documentation:
https://docs.shadowdevelopment.net/shadowcore

🛠️ Documentation is currently being refreshed for ShadowCore v2+.
A new, multi-project, versioned documentation site is in progress.


🧩 Plugin System

ShadowCore includes a built-in plugin system that allows functionality to be developed and distributed independently of the core.

Plugins can provide:

  • commands
  • buttons
  • menus
  • events
  • background services

Plugin components are automatically discovered and registered at startup, and execution is fully isolated from the core runtime.

Plugin authoring and structure are documented in the official docs.


🖥️ CLI Tooling

ShadowCore includes a CLI to assist with:

  • project scaffolding
  • consistent project structure
  • future developer tooling

CLI functionality will continue to expand alongside the framework.


📜 License

This project is licensed under the GNU General Public License v3.0.
See the LICENSE file for full terms.


🤝 Contributing

  1. Fork the repository on GitHub
  2. Clone your fork to your local machine:
    git clone https://github.com/Shadows-Development/ShadowCore.git
  3. Create a new branch for your changes:
    git checkout -b feat/new-functionality
  4. Make changes and commit them:
    git commit -m "feat: add cool feature"
  5. Push the branch and create a pull request:
    git push origin feat/new-functionality
  6. Submit a pull request on GitHub and wait for review

🌎 Community & Support