Given HTML, juice will inline your CSS properties into the style attribute. Juice has a number of functions based on whether you want to process a file, HTML string, or a cheerio document, and whether you want the juice to automatically get remote stylesheets, scripts, and image dataURIs to inline. To inline HTML without getting remote resources, using default options. Juice is exposed as a standard module, and from CLI with a smaller set of options.

Features

  • HTML emails
  • Embedding HTML in 3rd-party websites
  • Juice is exposed as a standard module, and from CLI with a smaller set of options
  • All juice methods take an options object that can contain any of these properties¿
  • Returns string containing inlined HTML. Does not fetch remote resources
  • Embed email client support hacks that rely on css selectors into your email templates

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Juice

Juice Web Site

Other Useful Business Software
Stop Storing Third-Party Tokens in Your Database Icon
Stop Storing Third-Party Tokens in Your Database

Auth0 Token Vault handles secure token storage, exchange, and refresh for external providers so you don't have to build it yourself.

Rolling your own OAuth token storage can be a security liability. Token Vault securely stores access and refresh tokens from federated providers and handles exchange and renewal automatically. Connected accounts, refresh exchange, and privileged worker flows included.
Try Auth0 for Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Juice!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript HTML XHTML, JavaScript Software Development Software

Registered

2022-06-20