0.11.4 • Published 10 months ago

pressman v0.11.4

Weekly downloads
50
License
-
Repository
-
Last release
10 months ago

pressman

Making emails awesome is fun and easy!

Specify a templates directory with your email templates in them like so...

templates
  |
  |- welcome
  |   |- html.jade
  |   `- text.ejs
  `- password-reset
      |- html.jade
      `- text.ejs

Next you then may render whichever template is needed...

var pressman = require("pressman")(__dirname + "/templates")

pressman.render("welcome", {...}, function(err, mgs){
  console.log(mgs)
  // { text: "Welcome", html: "<h1>Welcome</h1>" }
})

pressman.render("password-reset", { token: token }, function(err, mgs){
  /// console.log(mgs)
})
0.11.1

10 months ago

0.11.2

10 months ago

0.11.3

10 months ago

0.11.4

10 months ago

0.11.0

1 year ago

0.10.0

7 years ago

0.9.0

8 years ago

0.7.1

9 years ago

0.7.0

9 years ago

0.6.0

9 years ago

0.5.0

9 years ago

0.4.0

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.0

10 years ago