0.0.202 • Published 7 months ago
remase v0.0.202
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 remase
Setup
First, you need to get an API key from Remase.io.
import { Remase } from "remase";
const remase = new Remase("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