txnhog

0.1.1 • Public • Published

Synopsis

Small library to connect your node project to txnhog for sending transactional email and sms messages.

Usage

const TxnHog = require('txnhog');
var hog = new TxnHog('your-api-key-here');

var message = {
	messageId: 'this-message-id', // this is the id of the message template you created on txnhog
	name: "Shawn Spencer",
	email: "shawn.spencer@psychoffice.co",
	start: "Tuesday the 5th",
	trainer: "Carlton Lassiter",
};
let send = await hog.SendMessage(obj);

This will yield this email delivered to the address in the example above. txnhog transactional email dashboard

Installation

Installation is simple,

npm install --save txnhog

License

WTFPL

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    1
  • 0.1.0
    0

Package Sidebar

Install

npm i txnhog

Weekly Downloads

1

Version

0.1.1

License

WTFPL

Unpacked Size

2.25 kB

Total Files

3

Last publish

Collaborators

  • mrwhoof