1.0.1 • Published 2 years ago

@elioenaiferrari/dachshund-js v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Dachshund Mailer js client

register

Examples

const { Mailer } = require('dachshund');

const mailer = new Mailer('your_api_key');

mailer.send({
  template: 'default',
  context: {
    body: {
      subject: 'Welcome Dachshund',
      title: 'Long live open-source',
      description: 'Hello World!',
    },
    to: {
      email: 'elioenaiferrari@gmail.com',
      name: 'Elioenai Ferrari',
    },
  },
})
.then(...)
.catch(...);
1.0.1

2 years ago

1.0.0

2 years ago