{"_id":"@9d8/maily-render","_rev":"4-7761e2ac456a987aac7cde2caeb4d64f","name":"@9d8/maily-render","dist-tags":{"latest":"0.0.12"},"versions":{"0.0.12":{"name":"@9d8/maily-render","version":"0.0.12","keywords":["maily.to","react","email"],"author":{"name":"9d8","email":"9d8dev@gmail.com"},"license":"MIT","_id":"@9d8/maily-render@0.0.12","maintainers":[{"name":"9d8","email":"9d8dev@gmail.com"}],"homepage":"https://github.com/9d8dev/maily.to#readme","bugs":{"url":"https://github.com/9d8dev/maily.to/issues"},"dist":{"shasum":"363adbcf123f2b86c2f1c72d7e0fdf4b9259a004","tarball":"https://registry.npmjs.org/@9d8/maily-render/-/maily-render-0.0.12.tgz","fileCount":7,"integrity":"sha512-d3QsYWoiSacnr72yOJwsTgqiSK++qPgSVKeVDa34VN5yLCsskCfPGwKUrKayL0qr9FFDVCKYNREuzsJQTUQgUg==","signatures":[{"sig":"MEUCIQDNPZPfbaFoLhe3SLuIk8R1cZj1YsgUMAl3rQcvRCThAgIgXohPz+Hxoi9xu2A6VTKy9RAAcSdSr50UfJFVmikvgu0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56661},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"gitHead":"af16db5fcd1e3f770cd1154ef0f61f41eef5689d","private":false,"scripts":{"dev":"tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup","clean":"rm -rf dist","lint:fix":"eslint . --fix","test:watch":"vitest"},"_npmUser":{"name":"9d8","email":"9d8dev@gmail.com"},"repository":{"url":"git+https://github.com/9d8dev/maily.to.git","type":"git","directory":"packages/render"},"_npmVersion":"10.2.4","description":"A fork of a transformer that converts Maily content into HTML email templates.","directories":{},"sideEffects":false,"_nodeVersion":"21.6.0","dependencies":{"@react-email/render":"^1.0.1","@react-email/components":"^0.0.25"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsconfig":"workspace:*","typescript":"^5.6.3","@antfu/utils":"^0.7.10","@tiptap/core":"^2.9.1","@types/react":"^18.3.12","@babel/preset-react":"^7.25.9"},"peerDependencies":{"react":"^18.3.1"},"_npmOperationalInternal":{"tmp":"tmp/maily-render_0.0.12_1731702160211_0.5216812565127245","host":"s3://npm-registry-packages"}}},"time":{"created":"2024-11-15T20:22:40.110Z","modified":"2026-03-31T15:54:30.384Z","0.0.12":"2024-11-15T20:22:40.391Z"},"bugs":{"url":"https://github.com/9d8dev/maily.to/issues"},"author":{"name":"9d8","email":"9d8dev@gmail.com"},"license":"MIT","homepage":"https://github.com/9d8dev/maily.to#readme","keywords":["maily.to","react","email"],"repository":{"url":"git+https://github.com/9d8dev/maily.to.git","type":"git","directory":"packages/render"},"description":"A fork of a transformer that converts Maily content into HTML email templates.","maintainers":[{"email":"bridgertower@gmail.com","name":"brijr"},{"email":"9d8dev@gmail.com","name":"9d8admin"},{"email":"cameron.youngblood@gmail.com","name":"youngbloodcyb"}],"readme":"<div align=\"center\"><img height=\"150\" src=\"https://maily.to/brand/icon.svg\" /></div>\n<br>\n\n<div align=\"center\"><strong>@maily-to/render</strong></div>\n<div align=\"center\">Transform <a href=\"https://maily.to\">Maily</a> content into HTML email templates.</div>\n<br />\n\n<p align=\"center\">\n  <a href=\"https://github.com/arikchakma/maily/blob/main/license\">\n    <img src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" />\n  </a>\n  <a href=\"https://maily.to\">\n    \t<img src=\"https://img.shields.io/badge/%E2%9C%A8-Get%20Editor-0a0a0a.svg?style=flat&colorA=0a0a0a\" alt=\"Get Maily Editor\" />\n    </a>\n</p>\n\n<br>\n\n## Install\n\nInstall `maily` from your command line.\n\n```sh\npnpm add @maily-to/render\n```\n\n<br>\n\n## Getting started\n\nConvert React components into a HTML string.\n\n```jsx\nimport { renderSync } from '@maily-to/render';\n\nconst html = renderSync({\n  type: 'doc',\n  content: [\n    {\n      type: 'paragraph',\n      content: [\n        {\n          type: 'text',\n          text: 'Hello World!',\n        },\n      ],\n    },\n  ],\n});\n```\n\n## Contributions\n\nFeel free to submit pull requests, create issues, or spread the word.\n\n## License\n\nMIT &copy; [Arik Chakma](https://twitter.com/imarikchakma)\n","readmeFilename":"readme.md"}