New:Socket for Asana Is Now Available.Learn more
Get Started

@fedify/mysql

Package Overview
Dependencies
Maintainers
1
Versions
222
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.1.1
Version published
Weekly downloads
2.5K
155.48%
Maintainers
1
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 26 Mar 2026

Related posts