@ima-worldhealth/coral
v3.0.0
Published
PDF renderer based on puppeteer than inlines assets
Downloads
164
Readme
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;
}