0.0.9 • Published 12 months ago

@wattmore/notifications v0.0.9

Weekly downloads
-
License
Unlicense
Repository
-
Last release
12 months ago

@wattmore/notifications

Shared package for email templates and methods. It uses Maizzle for developing and compiling email templates with the aid of TailwindCSS.

Published NPM Package →

Development

# Install dependencies
npm install

# Run dev server
npm run dev

Publishing

# Bump the version
npm version patch

# Build templates and compile via Rollup
npm run build

# Publish to NPM
npm publish --access public

Usage

Sending a reset password email

const { sendResetPasswordEmail } = require('@wattmore/notifications');

await sendResetPasswordEmail({
  name: user.profile.firstName,
  to: user.email,
  emailLink: `${process.env.BASE_URL}/forgot-password?token=${token}`,
});
0.0.9

12 months ago

0.0.8

12 months ago

0.0.7

12 months ago

0.0.6

12 months ago

0.0.4

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago

0.0.0

12 months ago