F
Formcord

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
discord-message-example-image

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.

.contact()

Form submissions and inquiries

Docs

.deploy()

Deployment notifications

Docs

.error()

Runtime error alerts

Docs

.feedback()

User experience feedback

Docs

.bug()

Bug reports with context

Docs

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
GitHubOpen Source

Built in the open. MIT licensed.

Star us on GitHub, fork the repo, or contribute. Formcord is free forever.