Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 335 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 335 Bytes

Coral

A PDF rendering engine based on puppeteer for IMA World Health projects, with automatic inlining of assets and sensible defaults.

Usage

const render = require('@ima-worldhealth/coral');

async function toPdf(html) {
  const rendered = await render(html);
  return rendered;
}

License

MIT