New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

email-guide

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-guide

The Ultimate Guide for developing your emails

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

EmailGuide Codeship Status for Pentiado/email-guide Coverage Status

The Ultimate Guide for developing your emails. Pass your message to EmailGuide and it will parse it with Campaign Monitor's Guide to CSS support in email and return similar table but in JSON. Do you want visual tool? Check out my CatchMe app.

Usage

Install email-guide:

npm install email-guide --save

Require it and pass your email through

var emailGuide = require('email-guide');
var email = '<html><head></head><body><h1 style="color: red">My email</h1></body></html>'
emailGuide(email, function (err, result) {
});

Testing

Running npm test will run the unit tests with mocha.

Todo

  • LazyJS -> There is a lot of iterating over objects and arrays, lazy evaluation might bring great performance impact.
  • guide.xlsx -> Campaign monitor provide xlsx, extended version of guide. At the beginning of this project I was using but later I discovered some issues with parsing it, more email clients than are visible, not equal number of columns. Parsing by rows doesn't work. Right now there is just simple crawler that collects data from web page, but soon I will take different approach to getting info from xlsx.

Keywords

email

FAQs

Package last updated on 11 May 2014

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