0.0.9 • Published 1 year ago

@wattmore/notifications v0.0.9

Weekly downloads
-
License
Unlicense
Repository
-
Last release
1 year 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

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.4

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago