Files
GibSend/packages/sdk
2025-09-03 08:21:55 +10:00
..
2025-09-03 08:21:55 +10:00
2025-05-25 20:44:13 +10:00
2025-09-03 08:21:55 +10:00
2024-05-25 08:40:35 +10:00
2025-09-03 08:21:55 +10:00
2025-09-03 08:21:55 +10:00
2025-09-03 08:21:55 +10:00
2025-09-03 08:21:55 +10:00
2025-09-03 08:21:55 +10:00

useSend SDK

Prerequisites

Installation

NPM

npm install usesend

Yarn

yarn add usesend

PNPM

pnpm add usesend

Bun

bun add usesend

Usage

import { UseSend } from "usesend";

const usesend = new UseSend("us_12345");

// for self-hosted installations you can pass your base URL
// const usesend = new UseSend("us_12345", "https://app.usesend.com");

usesend.emails.send({
  to: "hello@acme.com",
  from: "hello@company.com",
  subject: "useSend email",
  html: "<p>useSend is the best open source product to send emails</p>",
  text: "useSend is the best open source product to send emails",
});