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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@eikaramba/directus-extension-stripe

v1.3.1

Published

A Directus extension that supports building flows for Stripe webhooks

Readme

directus-extension-stripe

A Directus extension that allows you to build flows and custom endpoints to handle Stripe Webhooks and make Stripe API calls. The best part is that it's fully integrated with Directus accountability and permissions. It's a small but mighty extension if you are looking to integrate Stripe!

https://github.com/programmarchy/directus-extension-stripe/assets/622192/0cdc92eb-375d-4f16-945a-43d561c3a80a

Details

This is a bundle extension that contains a middleware hook that verifies the Stripe-Signature header, and an operation node that injects the Stripe secret key into a flow so you can make API requests with the request node e.g. GET https://{{stripe_secret_key}}:@api.stripe.com/v1/customers/{{stripe_customer_id}}.

Check out the example for more details.

Setup Instructions

Once you've installed the extension, to connect Stripe, you can either set the following environment variables:

  • STRIPE_SECRET_KEY: Your Stripe secret key (e.g. sk_...)
  • STRIPE_WEBHOOK_PATH: The path to your webhook, relative to your Directus base URL (e.g. /flows/triggers/...)
  • STRIPE_WEBHOOK_SECRET: Your webhook's secret (e.g. whsec_...)

Or you can configure these variables on the Settings page in Directus:

NOTE: In order for the settings to appear and for the middleware hook to be installed, you must restart your Directus instance after installing the extension. This is because they rely on the app.before and middleware.before events which only occur when Directus starts.

Marketplace

Currently, this extension is not sandboxed so it won't appear in the Directus Marketplace by default. However, you can set MARKETPLACE_TRUST="all" so the extension becomes visible.