0.0.15 • Published 1 month ago
remase v0.0.15
Remase SDK
This libary is currently under development, created to simplify react emails and subscribers management
For more info visit Remase.io.
This is the node.js library for Remase Api
Installation
You can install Remase via npm:
npm install remase
# or
yarn add resend
Setup
First, you need to get an API key from Remase.io.
import { Resend } from "remase";
const remase = new Resend("your_api_key");
Usage
Design your email on Remase.io and copy the template ID
Sending your email:
await remase.emails.send({
from: "you@example.com",
to: "user@gmail.com",
subject: "hello world",
templateId: "your_templateId",
});
Add a subscriber
await remase.subscribers.add({
email: "user@gmail.com",
});
License
MIT License