Skip to content

citizenos/campaign-terminal

 
 

Repository files navigation

campaign-terminal

Terminal email provider for Campaign

install

npm i campaign-terminal -S

usage

using campaign.

var campaign = require('campaign');
var terminal = require('campaign-terminal');
var client = campaign({
  provider: terminal()
});
client.send(...) // as usual

terminal(mapper)

an optional mapper(model) function can be provided to transform the parts of the model we want to print to the terminal.

license

mit

About

💻 Terminal email provider for Campaign

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%