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

1.0.0 • Public • Published

nodemailer-hbs

import { createTransport } from 'nodemailer';
import hbs from 'nodemailer-hbs';

const transporter = createTransport({
    ...
});

const __filename = fileURLToPath(import.meta.url),
    __dirname = dirname(__filename).replace('dist', DIRECTORY);

transport.use('compile', hbs({
    ...
}));

This repository represents the modified and functional iteration of 'nodemailer-express-handlebars.'

All rights to the original author are acknowledged.

Package Sidebar

Install

npm i nodemailer-hbs

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

5.31 kB

Total Files

8

Last publish

Collaborators

  • imaximus