🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

email-i18n

Package Overview
Dependencies
Maintainers
7
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

email-i18n

email pre-processor with i18n and premailer integration

0.2.3
latest
Source
npm
Version published
Weekly downloads
1
Maintainers
7
Weekly downloads
 
Created
Source

email-i18n

DEPRECATION NOTICE

We don't maintain this module anymore, please don't use it. It has some code issues and uses at least one dependency that has a known vulnerability. We didn't put it offline since we don't want to break any production code.

What?

E-mail precompiler & optimizer for emails in different languages. Uses ejs templates to load content-snippets in the appropriate language and pre-compile emails.

email-i18 has premailer support built in. Which directly optimizes your emails with inline style rules.

Usage

var prepareEmails = require("email-i18n"),

prepareEmails(
    {
        src : __dirname + "/emails/src",
        target : __dirname + "/emails/compiled",
        lang : "en",
        usePremailer : true
    },
    function (err) { ... }
);

FAQs

Package last updated on 06 Mar 2018

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