email-templates
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -54,2 +54,6 @@ // node-email-templates | ||
if (typeof html === 'function') { | ||
callback = html; | ||
html = that.html; | ||
} | ||
if (!html) html = that.html | ||
@@ -62,3 +66,3 @@ if (!text) text = that.text | ||
if (stylesheet) html = juice(html, stylesheet); | ||
if (typeof html === 'function') callback = html; | ||
@@ -65,0 +69,0 @@ // return a compressed buffer |
{ | ||
"name": "email-templates" | ||
, "description": "Node.js module for rendering beautiful emails with ejs templates and email-friendly inline CSS using juice." | ||
, "version": "0.0.5" | ||
, "version": "0.0.6" | ||
, "author": "Nick Baugh <niftylettuce@gmail.com>" | ||
, "contributors": [ | ||
{ "name": "Nick Baugh", "email": "niftylettuce@gmail.com" } | ||
{ "name": "Nick Baugh", "email": "niftylettuce@gmail.com" } | ||
, { "name": "Andrea Baccega", "email": "vekexasia@gmail.com" } | ||
] | ||
@@ -9,0 +10,0 @@ , "keywords": [ "node-email-templates", "ejs", "email", "templates", "email-templates", "juice", "inline", "css" ] |
# node-email-templates <sup>0.0.5</sup> | ||
# node-email-templates <sup>0.0.6</sup> | ||
Node.js module for rendering beautiful emails with [ejs][1] templates and email-friendly inline CSS using [juice][2]. | ||
**v0.0.6**: | ||
* Fixed batch problem (`...has no method slice`) thanks to @vekexasia | ||
**v0.0.5**: | ||
@@ -365,5 +368,5 @@ * Added support for an optional [zlib][8] compression type (e.g. you can return compressed html/text buffer for db storage) | ||
* Nick Baugh <niftylettuce@gmail.com> | ||
* Andrea Baccega <vekexasia@gmail.com> | ||
## License | ||
@@ -370,0 +373,0 @@ |
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
29546
417
385
1