{"_id":"@edde746/vite-plugin-mjml","_rev":"2-a321a02cb441605da5b8577a17630feb","name":"@edde746/vite-plugin-mjml","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@edde746/vite-plugin-mjml","version":"1.0.0","keywords":["vite","plugin","mjml","email"],"author":"","license":"MIT","_id":"@edde746/vite-plugin-mjml@1.0.0","maintainers":[{"name":"edde746","email":"edvard.wikhall@gmail.com"}],"homepage":"https://github.com/edde746/vite-plugin-mjml#readme","bugs":{"url":"https://github.com/edde746/vite-plugin-mjml/issues"},"dist":{"shasum":"c37200e7e7a5bffca5ecfa432660805603729c60","tarball":"https://registry.npmjs.org/@edde746/vite-plugin-mjml/-/vite-plugin-mjml-1.0.0.tgz","fileCount":4,"integrity":"sha512-qPho/F/wivo8Hv/+FIXlpEL3xcP+EFS9B2LVyE5xLuEpiCgAIHzj+eI5whks2vat1Rfc9BNHXwCPrC6vUCx2fw==","signatures":[{"sig":"MEUCIQDoRkat+Ldu8P79MQRyakfOYxjzGlL5Z2JuOnda5P+lHgIgabFwSwfmKrfyWYIhcn+1zG637XElKzr1rQkzp9yPCHQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1965},"main":"index.js","type":"module","types":"./index.d.ts","gitHead":"1adb035920f1f7a43679b3f47e0b02000e4e694d","_npmUser":{"name":"edde746","actor":{"name":"edde746","type":"user","email":"edvard.wikhall@gmail.com"},"email":"edvard.wikhall@gmail.com"},"repository":{"url":"git+https://github.com/edde746/vite-plugin-mjml.git","type":"git"},"_npmVersion":"10.9.2","description":"A Vite plugin for importing and compiling MJML files","directories":{},"_nodeVersion":"22.16.0","dependencies":{"mjml":"^4.15.3"},"_hasShrinkwrap":false,"peerDependencies":{"vite":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-plugin-mjml_1.0.0_1750713927507_0.36035536059680573","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@edde746/vite-plugin-mjml","version":"1.0.1","description":"A Vite plugin for importing and compiling MJML files","main":"index.js","type":"module","types":"index.d.ts","keywords":["vite","plugin","mjml","email"],"author":"","license":"MIT","repository":{"type":"git","url":"git+https://github.com/edde746/vite-plugin-mjml.git"},"peerDependencies":{"vite":"^6.0.0"},"dependencies":{"mjml":"^4.15.3"},"_id":"@edde746/vite-plugin-mjml@1.0.1","gitHead":"feab05441aba037f2ea4e8c369112d72395c457b","bugs":{"url":"https://github.com/edde746/vite-plugin-mjml/issues"},"homepage":"https://github.com/edde746/vite-plugin-mjml#readme","_nodeVersion":"22.16.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-0hGCE8M2wlwarcLCuDL7DPiEcS13XYWBN0pF+SJwZwO6GhhiiauPWlBq0DIKB1v8Ee29z34Chkubnii6e7YInA==","shasum":"1d83aedf0f9dedacb75206c3b2c6944d78f48940","tarball":"https://registry.npmjs.org/@edde746/vite-plugin-mjml/-/vite-plugin-mjml-1.0.1.tgz","fileCount":4,"unpackedSize":1957,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCrJ7L1+siURNvv+RsiIazOZ8S4KIadStUvCXkgehbH8AIhAIAHS4mOmt3NgzRlRwhNulJKZu3rwSd4ESXgmBUNNrxj"}]},"_npmUser":{"name":"edde746","email":"edvard.wikhall@gmail.com","actor":{"name":"edde746","email":"edvard.wikhall@gmail.com","type":"user"}},"directories":{},"maintainers":[{"name":"edde746","email":"edvard.wikhall@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/vite-plugin-mjml_1.0.1_1750720206237_0.16057106597823023"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-23T21:25:27.425Z","modified":"2025-06-23T23:10:06.934Z","1.0.0":"2025-06-23T21:25:27.659Z","1.0.1":"2025-06-23T23:10:06.420Z"},"bugs":{"url":"https://github.com/edde746/vite-plugin-mjml/issues"},"license":"MIT","homepage":"https://github.com/edde746/vite-plugin-mjml#readme","keywords":["vite","plugin","mjml","email"],"repository":{"type":"git","url":"git+https://github.com/edde746/vite-plugin-mjml.git"},"description":"A Vite plugin for importing and compiling MJML files","maintainers":[{"name":"edde746","email":"edvard.wikhall@gmail.com"}],"readme":"# vite-plugin-mjml\n\nA Vite plugin that allows you to import MJML files and automatically compiles them to HTML.\n\n## Installation\n\n```bash\nnpm install @edde746/vite-plugin-mjml mjml\n```\n\n## Usage\n\nAdd the plugin to your `vite.config.js`:\n\n```js\nimport { defineConfig } from 'vite';\nimport { mjmlPlugin } from '@edde746/vite-plugin-mjml';\n\nexport default defineConfig({\n  plugins: [mjmlPlugin()]\n});\n```\n\nThen you can import MJML files directly in your JavaScript/TypeScript code:\n\n```js\nimport emailHtml from './email.mjml';\n\n// emailHtml contains the compiled HTML string\ndocument.body.innerHTML = emailHtml;\n```\n\n## Example\n\nCheck the `example/` directory for a complete working example.\n","readmeFilename":"README.md"}