v1.0.0 stable
Ship notifications to Discord with one function.
Edge-safe. Node-safe. Zero dependencies. Best-effort delivery with rate-limit handling.
2 stars1/week~1.3kb gzippedMIT
contact.tsformcord
import { formcord } from "formcord";
await formcord.contact({
subject: "New Submission",
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.
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.