New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@fedify/mysql

Package Overview
Dependencies
Maintainers
3
Versions
240
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fedify/mysql

MySQL/MariaDB drivers for Fedify

Source
npmnpm
Version
2.4.0-dev.1951
Version published
Weekly downloads
575
23.39%
Maintainers
3
Weekly downloads
 
Created
Source

@fedify/mysql: MySQL/MariaDB drivers for Fedify

JSR npm

This package provides Fedify's KvStore and MessageQueue implementations for MySQL/MariaDB:

import { createFederation } from "@fedify/fedify";
import { MysqlKvStore, MysqlMessageQueue } from "@fedify/mysql";
import mysql from "mysql2/promise";

const pool = mysql.createPool("mysql://user:password@localhost/dbname");

const federation = createFederation({
  kv: new MysqlKvStore(pool),
  queue: new MysqlMessageQueue(pool),
});

Installation

deno add jsr:@fedify/mysql              # Deno
npm  add     @fedify/mysql mysql2       # npm
pnpm add     @fedify/mysql mysql2       # pnpm
yarn add     @fedify/mysql mysql2       # Yarn
bun  add     @fedify/mysql mysql2       # Bun

Keywords

fedify

FAQs

Package last updated on 15 Sep 2026

Related posts