Skip to content

arikchakma/maily

Repository files navigation


@arikchakma/maily
Transform Maily content into HTML email templates.

Get Maily Editor


Install

Install maily from your command line.

With bun

bun add @arikchakma/maily

With yarn

yarn add @arikchakma/maily

With npm

npm install @arikchakma/maily

Getting started

Convert React components into a HTML string.

import { render } from '@arikchakma/maily';

const html = render({
  type: 'doc',
  content: [
    {
      type: 'paragraph',
      content: [
        {
          type: 'text',
          text: 'Hello World!',
        },
      ],
    },
  ],
});

Contributions

Feel free to submit pull requests, create issues, or spread the word.

License

MIT © Arik Chakma