PACKAGE · EMAIL

resend

Node.js library for the Resend API

WEEKLY DOWNLOADS 17.5M
STARS 986
FORKS 102
OPEN ISSUES 21
GZIP SIZE 254.4 kB
UNPACKED SIZE 399.9 kB
DEPENDENCIES 24
LAST UPDATED 8mo ago
DOWNLOAD TRENDS

resend downloads · last 12 months

Download trends for resend1 download series from Nov 2025 to Oct 2026. Use left and right arrow keys to inspect monthly values.015.4M30.8M46.2M61.6MNov 2025FebMayAugOct 2026
resend
ABOUT RESEND

resend is a Node.js library for calling the Resend API to send email from JavaScript or TypeScript applications. It provides a code-based interface to email delivery, so application logic can request messages through the API rather than constructing direct provider requests itself.

The package is focused on integrating email sending into application code through Resend’s service and API. Its stated audience is Node.js developers; the available package information does not describe a broader framework-specific design or a separate local mail server, so teams should check Resend’s API documentation for service requirements and supported features.

A typical integration creates a Resend client and calls its email API to submit a message, handling the result or error in the application’s workflow. Keep API credentials on the server, and treat delivery as an external service operation: validate input, handle failures, and avoid assuming that a successful API response means a recipient has read the email.

The library can fit into Node.js routes, server-side actions, background jobs, and other workflows that can make API requests. It is intended for application-side integration rather than browser use; choose the point in your architecture where email requests can be authenticated and retried or logged according to your needs.

Version 6.40.0 is MIT-licensed and has a reported unpacked size of 399.9 kB and gzip bundle size of 254.4 kB. The package reports 17.5M weekly downloads, 986 GitHub stars, 102 forks, 21 open issues, and a last-updated date of 2026-11-25; these figures provide context but do not establish delivery performance or support guarantees.

Resend is specific to the Resend API, so adopting it ties email sending to that service’s API, credentials, and operational requirements. The provided package details do not specify supported message features, runtime compatibility, retry behavior, or delivery guarantees; verify those against current documentation before relying on them in production.

WHEN TO USE
  • When a Node.js server needs to submit email through the Resend API, use the library’s client and email API instead of assembling provider requests by hand.
  • When application code sends transactional messages, call the email API from a server-side route or action and keep Resend credentials out of client code.
  • When a background job sends email, use the package in the job’s Node.js workflow and handle API errors as part of the job’s retry and logging policy.
  • When you want email sending expressed as an application API call, integrate Resend at the point where your code already validates the message and decides whether to send it.
  • When your team has selected Resend as its email service, use this Node.js library as the service-specific integration layer and confirm required capabilities in the current API documentation.
WHEN NOT TO USE
  • If your application must send email through a different provider, this Resend-specific client is not the right integration; use that provider’s API or a provider-neutral mail interface.
  • If email must be sent directly from browser code, do not expose Resend credentials in the client; route requests through an authenticated server-side endpoint instead.
  • If your deployment cannot make authenticated API requests to Resend, this library cannot complete its intended service integration; use an email transport available in that environment.
  • If you require documented guarantees about retries, delivery, or specific message features before choosing a client, the supplied package details do not establish them; verify Resend’s current documentation or select a service with requirements you can confirm.
  • If minimizing dependency and bundle weight is a strict constraint, account for the reported 254.4 kB gzip bundle size and consider a narrower integration that meets your needs.

CORRECTIONS

Spot wrong data here?

A short note helps us fix it.

Anonymous · No account · No email back

COMPARISONS 3
resend vs nodemailer ★ 17.7K · 40.1M/wk resend vs @react-email/components ★ 20.0K · 11.2M/wk resend vs @sendgrid/mail ★ 3.0K · 6.8M/wk