@ima-worldhealth/coral

2.14.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @ima-worldhealth/coral

Weekly Downloads

107

Version

2.14.0

License

MIT

Unpacked Size

6.6 kB

Total Files

6

Last publish

Collaborators

  • jniles