0.2.0 • Published 5 years ago

monkey-uploader v0.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

monkey-uploader

Nodejs mandrill template uploader ( only with API key and built templates )

alt text

Requirements

  1. API KEY
  2. html templates

Setup

npm i -S monkey-updater

const MonkeyUpdater = require('monkey-uploader');
const monkeyUpdater = new MonkeyUpdater(<Your MANDRILL API KEY HERE>:String);

Usages

UPDATE TEMPLATES

monkeyUpdater.update('html_template_path_here.html')
.then(res => console.log(res))
.catch(error => console.log(error));

OR ADD NEW TEMPLATES TOO

monkeyUpdater.add(
    'html_template_path_here.html',
    'Name here',
    'from@noreplyemail.com',
    'subject here'
    )
.then(res => console.log(res))
.catch(error => console.log(error));