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

@redlabs/rocket-loadout

v1.1.1

Published

Enhanced loadout (settings and features) for your Directus instance. EMAIL_FROM override + Email hook. More to come!??

Readme

RedLabs Rocket Loadout 🚀

Enhanced loadout (settings and features) for your Directus instance

Quick Notes

  1. Provided 'as is'. See πrate LICENSE.md
  2. Enhancements? Maybe. Bug fixes? Maybe. Responding to issues? Maybe...
  3. Happy huntin'

Features

📧 Email Management Module

  • Admin-only access to email configuration settings
  • Override system email address with custom name and address
  • Visual interface to manage email settings directly from Directus admin panel
  • Real-time preview of current system email & overridden email

🔗 Email Hook

  • Automatic email override when sending emails through Directus
  • Custom FROM address configuration stored in database
  • Seamless integration with existing Directus email functionality

🌐 Environment Endpoint

  • API endpoint (/red/env) to access limited non-sensitive variables

🆘 Help....

  • Module Access to Environment Variables
  • tbh we only have the environment endpoint as we could not figure out how to access env variables from the module
  • ... to get the EMAIL_FROM environment variable
  • Using an API endpoint to get this is convulted and counter-intuitive.
  • Happy to get advice how we could do this differently

Installation

Prerequisites

  • Directus v11.10.1 or higher
    -- As the ability to override email_from address was added at this point
  • Admin access to Directus instance

Install Extension

  • Search for "RedLabs" or "Email" - it should pop up
  • Install, configure and you are good to go

Usage

Email Management

  1. Log in to Directus as an admin user
  2. Got to Directus Settings > Settings
  3. Enable the RedLabs Rocket Loadout module so it appears in the module sidebar
  4. Navigate to the RedLabs Rocket Loadout 🚀🚀🚀 module in the sidebar
  5. Access the Email Management section
  6. Configure your custom email settings:
    • Enable/disable email override
    • Set custom sender name
    • Set custom sender email address
  7. Save your settings

API Endpoints

Get Environment Variables

GET /red/env

Returns limited, safe environment variables:

{
  "EMAIL_FROM": "[email protected]",
  "PUBLIC_URL": "https://your-directus-instance.com"
}

Configuration

Database Setup

The extension automatically creates a red_loadout collection to store configuration settings

  • email_override (boolean) - Enable/disable custom email settings
  • email_name (string) - Custom sender name
  • email_address (string) - Custom sender email address

Development

See: Directus Extensions Overview

Clone into your directus ./extensions directory

# Using SSH
git clone [email protected]:RedLabs-Rocks/blackfang-cay.git redlabs-rocket-loadout

# Using HTTPS
git clone https://github.com/RedLabs-Rocks/blackfang-cay.git redlabs-rocket-loadout

Install & Build

cd redlabs-rocket-loadout
npm install
npm run build
  1. Restart your Directus instance

From: RedLabs 🚀🚀🚀

More features?? Massive time constraints, but who knows! 😎

🏴 Avast! We be done! 🏴
Arrr, be seein’ ye, an' may the Kraken ever look upon ye with favor! 🐙