Socket
Book a DemoInstallSign in
Socket

email-stooge

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

email-stooge

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

0.1.2
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

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:

  • juice
  • html-minifier
  • html-to-text

Notes

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

Keywords

minify

FAQs

Package last updated on 09 Aug 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.