Automattic/juice
Juice inlines CSS stylesheets into your HTML source. observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 99
- Release rhythm 96
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 29
- age_days: 5443
- days_rel: 29
- days_push: 9
- n_releases_24m: 8
Adoption not part of the score
3278 stars · 233 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Juice is a JavaScript library and CLI that inlines CSS stylesheets into HTML by converting CSS rules into style attributes. It is primarily used to prepare HTML emails and embedded HTML for environments that don't support style tags.
Use cases
- inline css into html email templates
- prepare html emails for email clients that strip style tags
- embed html snippets in third-party websites with inline styles
- convert stylesheet rules to style attributes programmatically
- flatten css nesting before inlining
- inline remote stylesheets and image data uris into html
When to choose
- you send html email and need maximum client compatibility
- you need to embed styled html where style tags are unsupported
- you want a mature node.js library with a cli and browser build
When to avoid
- you only need general css processing or minification without inlining
- your target environment fully supports style tags and external stylesheets
- you need a non-javascript runtime
Facets
library · maturity active
templating email css-framework parser email web-development frontend cli browser cross-platform css-inlining html-email email-templates style-attributes nodejs
2 sources
- readme: https://github.com/Automattic/juice · fetched 2026-08-28 · 0a34a95d1a6b
- registry_npm: https://registry.npmjs.org/juice · fetched 2026-08-29 · 48d2bc958b1d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Automattic/juice | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="Automattic/juice")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem