remase
TypeScript icon, indicating that this package has built-in type declarations

0.0.15 • Public • Published

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

Package Sidebar

Install

npm i remase

Homepage

remase.io

Weekly Downloads

4

Version

0.0.15

License

MIT

Unpacked Size

10.8 kB

Total Files

6

Last publish

Collaborators

  • remase