@emailens/engine 0.8.4 → 0.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/dist/compile/index.d.cts +2 -2
- package/dist/compile/index.d.ts +2 -2
- package/dist/index.cjs +2129 -1177
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +46 -8
- package/dist/index.d.ts +46 -8
- package/dist/index.js +2126 -1177
- package/dist/index.js.map +1 -1
- package/dist/{react-email-DcseUoOu.d.ts → react-email-BENS7LIn.d.ts} +1 -1
- package/dist/{react-email-C-p8ZL37.d.cts → react-email-BFwlVmzZ.d.cts} +1 -1
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/{types-4P9AtKm_.d.cts → types-Duj14jTL.d.cts} +1 -0
- package/dist/{types-4P9AtKm_.d.ts → types-Duj14jTL.d.ts} +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
**Your email looks perfect in Apple Mail. Gmail strips half the CSS. Outlook renders it in Word.**
|
|
9
9
|
|
|
10
|
-
`@emailens/engine` analyzes your HTML against 250+ CSS properties across
|
|
10
|
+
`@emailens/engine` analyzes your HTML against 250+ CSS properties across 13 email clients, scores compatibility, and shows you exactly what to fix — before you hit send.
|
|
11
11
|
|
|
12
12
|
> **[emailens.dev](https://emailens.dev)** — Try the hosted version. Paste HTML, get a full audit in seconds.
|
|
13
13
|
|
|
@@ -80,7 +80,7 @@ const { code } = await generateAiFix({
|
|
|
80
80
|
|
|
81
81
|
8 analysis engines, one `auditEmail()` call.
|
|
82
82
|
|
|
83
|
-
- **CSS compatibility** — 250+ properties tested across
|
|
83
|
+
- **CSS compatibility** — 250+ properties tested across 13 email clients, with fix snippets and AI-powered auto-fix
|
|
84
84
|
- **Spam scoring** — 45+ signals modeled after SpamAssassin, CAN-SPAM, and GDPR
|
|
85
85
|
- **Accessibility** — WCAG contrast ratios, alt text, semantic structure, heading hierarchy
|
|
86
86
|
- **Link validation** — broken hrefs, insecure HTTP, `javascript:` protocols, deceptive URLs
|
|
@@ -127,7 +127,8 @@ Three entry points:
|
|
|
127
127
|
| Gmail Android | `gmail-android` | Mobile | Gmail Mobile | Yes |
|
|
128
128
|
| Gmail iOS | `gmail-ios` | Mobile | Gmail Mobile | Yes |
|
|
129
129
|
| Outlook 365 | `outlook-web` | Webmail | Outlook Web | Yes |
|
|
130
|
-
| Outlook
|
|
130
|
+
| Outlook (New) | `outlook-windows` | Desktop | Outlook Web | Yes |
|
|
131
|
+
| Outlook Classic | `outlook-windows-legacy` | Desktop | Microsoft Word | Yes |
|
|
131
132
|
| Apple Mail | `apple-mail-macos` | Desktop | WebKit | Yes |
|
|
132
133
|
| Apple Mail iOS | `apple-mail-ios` | Mobile | WebKit | Yes |
|
|
133
134
|
| Yahoo Mail | `yahoo-mail` | Webmail | Yahoo | Yes |
|
package/dist/compile/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as InputFormat } from '../types-
|
|
2
|
-
export { C as CompileError, a as CompileReactEmailOptions, S as SandboxStrategy, c as compileReactEmail } from '../react-email-
|
|
1
|
+
import { u as InputFormat } from '../types-Duj14jTL.cjs';
|
|
2
|
+
export { C as CompileError, a as CompileReactEmailOptions, S as SandboxStrategy, c as compileReactEmail } from '../react-email-BFwlVmzZ.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Compile an MJML source string into an HTML email string.
|
package/dist/compile/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as InputFormat } from '../types-
|
|
2
|
-
export { C as CompileError, a as CompileReactEmailOptions, S as SandboxStrategy, c as compileReactEmail } from '../react-email-
|
|
1
|
+
import { u as InputFormat } from '../types-Duj14jTL.js';
|
|
2
|
+
export { C as CompileError, a as CompileReactEmailOptions, S as SandboxStrategy, c as compileReactEmail } from '../react-email-BENS7LIn.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Compile an MJML source string into an HTML email string.
|