· Standard
N
llmstxt.info directory · Standard
Nodemailer MJML i18next Compiler
Community listing
llms.txt reachable
AI Impact Score 95/100 · A
The organization Nodemailer MJML i18next Compiler uses the llms.txt standard for better discoverability by AI systems. Industry: Developer Tools / API & Integrationen. The website xjodoin.github.io provides its llms.txt at https://xjodoin.github.io/nodemailer-mjml-i18next-compiler/latest/llms.txt. Listed since 27 March 2026.
Under GDPR Art. 17 you can request the deletion of your data. Report a legal violation (Art. 16 DSA) →
llms.txt — current content
Open ↗
# Nodemailer MJML i18next Compiler
> Nodemailer compile plugin that renders MJML templates with Handlebars and i18next translations to produce responsive HTML emails from MJML.
This file points LLMs to concise, high-signal references for using the library. Core flow: Handlebars renders data and translations into MJML; MJML compiles to responsive HTML; the Nodemailer compile plugin assigns the result to `mail.data.html` and resolves a translated subject when configured. Templates are resolved by trying `<name>.mjml.hbs`, `.hbs.mjml`, `.mjml`, then `.hbs`. i18n defaults to filesystem-backed `i18next` loading from `locales/<lng>/<ns>.json`. Use `{{t "ns:key"}}` or `{{__ "ns:key"}}` in templates; locale comes from `mail.data.locale`.
Important notes:
- The plugin runs in Nodemailer’s compile phase (`transporter.use('compile', ...)`).
- `strict` throws on MJML errors; otherwise errors are exposed at `mail.data.mjmlErrors`.
- Subjects: set `mail.data.subject`, or use `mail.data.subjectKey`, or enable `autoSubject` (default) to use `<subjectNamespace>:<template>.subject`.
[…truncated]