
Product
Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.
@brianmmdev/clerk-webhooks-handler
Advanced tools
A package to streamline the configuration of Clerk webhooks in a Next.js application.
A package to streamline the configuration of Clerk webhooks in a Next.js application.
TODO: complete the readme 🤗
Install the package:
npm install @brianmmdev/clerk-webhooks-handler
Create a route handler at your preferred location with the following code. Modify the events events inside the configuration passed into createWehbooksHandler to handle the various events sent from Clerk.
import { createWebhooksHandler } from "@brianmmdev/clerk-webhooks-handler";
const handler = createWebhooksHandler({
// Add/remove optional handlers to get access to the data.
onUserUpdated: async (payload) => {
// Update a user in the database
console.log("user updated!", payload)
},
onSessionCreated: async (payload) => {
// Create a session in the database
console.log("session created!", payload)
}
})
export const POST = handler.POST
Watch this demo to learn more about how to use the package: https://f.io/XKnnF3cN
Please also ping me on Twitter with feedback: https://twitter.com/brianmmdev
FAQs
A package to streamline the configuration of Clerk webhooks in a Next.js application.
The npm package @brianmmdev/clerk-webhooks-handler receives a total of 227 weekly downloads. As such, @brianmmdev/clerk-webhooks-handler popularity was classified as not popular.
We found that @brianmmdev/clerk-webhooks-handler demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.

Research
More than 140 Mastra npm packages were compromised in a supply chain attack that used a typosquatted dependency to deliver a cross-platform infostealer during installation.

Research
/Security News
A new npm package tests AI malware scanners with prompt injection, safety-triggering comments, context flooding, and obfuscated JavaScript.