{"id":13417391,"url":"https://github.com/vituum/vite-plugin-juice","last_synced_at":"2025-10-19T13:46:11.431Z","repository":{"id":57536491,"uuid":"527198560","full_name":"vituum/vite-plugin-juice","owner":"vituum","description":"⚡🧃 Vite plugin for Juice, inlines css into HTML ","archived":false,"fork":false,"pushed_at":"2025-04-30T07:37:49.000Z","size":35,"stargazers_count":6,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-12T03:13:08.799Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vituum.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-08-21T12:22:12.000Z","updated_at":"2025-06-06T03:37:30.000Z","dependencies_parsed_at":"2025-09-12T02:50:33.100Z","dependency_job_id":null,"html_url":"https://github.com/vituum/vite-plugin-juice","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":0.06666666666666665,"last_synced_commit":"766b7d15eb86693d918e8ea6a8f4c3045a6bac66"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vituum/vite-plugin-juice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vituum%2Fvite-plugin-juice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vituum%2Fvite-plugin-juice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vituum%2Fvite-plugin-juice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vituum%2Fvite-plugin-juice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vituum","download_url":"https://codeload.github.com/vituum/vite-plugin-juice/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vituum%2Fvite-plugin-juice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279818170,"owners_count":26231378,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-19T02:00:07.647Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T22:00:36.307Z","updated_at":"2025-10-19T13:46:11.382Z","avatar_url":"https://github.com/vituum.png","language":"JavaScript","funding_links":[],"categories":["Plugins"],"sub_categories":["Framework-agnostic Plugins"],"readme":"\u003ca href=\"https://npmjs.com/package/@vituum/vite-plugin-juice\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@vituum/vite-plugin-juice.svg\" alt=\"npm package\"\u003e\u003c/a\u003e\n\u003ca href=\"https://nodejs.org/en/about/releases/\"\u003e\u003cimg src=\"https://img.shields.io/node/v/@vituum/vite-plugin-juice.svg\" alt=\"node compatility\"\u003e\u003c/a\u003e\n\n# ⚡️🧃 ViteJuice\n\nInlines CSS code to HTML via [Juice](https://github.com/Automattic/juice). It's handy for creating email templates.\n\n```js\nimport juice from '@vituum/vite-plugin-juice'\n\nexport default {\n  plugins: [\n    juice({ \n      paths: [],\n      tables: true,\n      postcss: {},\n      doctype: '\u003c!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"\u003e',\n      options: {}\n    })\n  ]\n}\n```\n\nOnly PostCSS and CSS is supported, you can transform sass or less via `juiceLink()` function. And process it manually.\n\n* Sass - https://sass-lang.com/documentation/js-api/\n* Less - https://lesscss.org/usage/#programmatic-usage\n\n```html\n\u003clink rel=\"stylesheet\" href=\"/src/email.less\"\u003e\n```\n\nRead the [docs](https://vituum.dev/plugins/juice.html) to learn more about the plugin options.\n\n### Requirements\n\n- [Node.js LTS (16.x)](https://nodejs.org/en/download/)\n- [Vite](https://vitejs.dev/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvituum%2Fvite-plugin-juice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvituum%2Fvite-plugin-juice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvituum%2Fvite-plugin-juice/lists"}