v2.2.0 stable
Ship notifications to Discord with one function.
Edge-safe. Node-safe. Zero dependencies. Best-effort delivery with rate-limit handling.
1 stars163/week~2.6kb gzippedMIT
contact.tsformcord
import { formcord } from "formcord";
await formcord.contact({
data: {
email: "hello@formcord.dev",
message: "Ready to integrate",
}
});Discord PreviewReal message payload

Why Formcord
A notification layer that respects your stack.
Zero dependencies
Built on Web APIs only. No bloat, no supply chain risks.
Edge & serverless ready
Works everywhere - Vercel Edge, Cloudflare Workers, Deno, Bun.
Best-effort delivery
Automatic rate-limit handling. Never lose a notification.
Media attachments
Attach logs, PDFs, and files natively using standard Web APIs.
Helpers included
Prebuilt helpers for common notification patterns.
Theming
Match your brand. Every embed, every time.
titleEmbed title prefix
authorName and icon in header
colorSidebar accent color
footerFooter text
timestampAuto-add timestamps
Runs everywhere
One codebase. Every runtime.
Next.jsEdge & Node
VercelFunctions
CloudflareWorkers
BunRuntime
DenoDeploy
Node.jsVPS
Built in the open. MIT licensed.
Star us on GitHub, fork the repo, or contribute. Formcord is free forever.