email-stooge

Tool for preparing HTML files for emailing: inlines styles, minifies, generates text equivalent

Usage no npm install needed!

<script type="module">
  import emailStooge from 'https://cdn.skypack.dev/email-stooge';
</script>

README

Email Stooge

Given some HTML templates, email-stooge will create a set of files optimized for emailing.

New files have their styles inlined, are minified, and get a fulltext version.

Instructions

For command-line use

npm install -g email-stooge
email-stooge --help

For programmatic use

npm install -g email-stooge
var stooge = require('stooge');

stooge({
  sourceDir: '/path/to/templates',
  distDir: '/path/to/build',
  filesPattern: '*.html',
}).prepare();

Dependencies

The following tools are used to build the output:

Notes

Since this tool was made with a very opinionated purpose, it does not allow – yet – as many options as the dependencies can offer.