
Security News
AI Agent Lands PRs in Major OSS Projects, Targets Maintainers via Cold Outreach
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.
mjml-qr-code
Advanced tools
A component for adding QR codes to your email using an open-source QuickChart provider.
This mjml...
<mjml>
<mj-body>
<mj-section>
<mj-column>
<mj-qr-code value="hello world" />
</mj-column>
</mj-section>
</mj-body>
</mjml>
Will show this QR code:
Customize the color, size, positioning, and other QR parameters using the attributes below.
Install via npm:
npm install mjml-qr-code --save
Then add the package to your .mjmlconfig:
{
"packages": [
"mjml-qr-code/lib/MjQrCode.js"
]
}
The <mj-qr-code> tag supports all the attributes of the <mj-image> tag. View those attributes here.
In addition to regular image attributes which you can using for sizing and positioning, the component supports the following QR-specific attributes:
| Name | Description | Required? | Default | |
|---|---|---|---|---|
| value | The content encoded in your QR code | Yes | ||
| color | The color of the QR code | No | 000000 (black) | |
| background-color | The background of the QR code | No | ffffff (white) | |
| qr-margin | The number of QR blocks to leave empty around the QR code | No | 4 | |
| error-correction-level | The QR error correction level | No | M | |
| width | Width of the QR code image | No | 200 | |
| host | The host of the QR image server | No | quickchart.io | |
| protocol | The protocol of the QR image server | No | https |
By default, this component uses the public QuickChart web service to render QR codes, but you can use the host attribute to point to your own QR renderer.
FAQs
Embed QR codes in your emails
The npm package mjml-qr-code receives a total of 146 weekly downloads. As such, mjml-qr-code popularity was classified as not popular.
We found that mjml-qr-code demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.

Research
/Security News
Chrome extension CL Suite by @CLMasters neutralizes 2FA for Facebook and Meta Business accounts while exfiltrating Business Manager contact and analytics data.

Security News
After Matplotlib rejected an AI-written PR, the agent fired back with a blog post, igniting debate over AI contributions and maintainer burden.