
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Creating HTML email template has, and probably always will, be a pain. This package is designed to try & make it a bit easier to use by letting you use WindiCSS to handle styles for your email templates.
A basic example to show how it works:
<!-- input.html -->
<html>
<body>
<p class="font-bold text-lg">Welcome</p>
</body>
</html>
Run the following command:
mailwindi -i input.html
And will generate the following inlined HTML file:
<html>
<body>
<p class="font-bold text-lg" style="font-size: 18px; font-weight: 700;">
Welcome
</p>
</body>
</html>
Install the CLI globally
npm i -g mailwindi
Or use npx
npx mailwindi
Design your email template in plain HTML & WindiCSS utility classes like you normally would for the web.
Then run the following command to generate the same email template but with all styles inlined.
mailwind -i input.html
--input
: Input file path
-i
index.html
true
--minify
: Output file path
-m
[NAME]-inline.html
true
--config
: Config file path
-c
./windi.config.js
true
FAQs
WindiCSS Email template compiler
The npm package mailwindi receives a total of 0 weekly downloads. As such, mailwindi popularity was classified as not popular.
We found that mailwindi 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.