1.3.13 • Published 2 weeks ago
@medicus.ai/medicus-report-pdf-generator
Licence
ISC
Version
1.3.13
Deps
25
Size
18.7 MB
Vulns
9
Weekly
0
Medicus Pdf Generator
This package is a stand-alone lightweight nodejs library for generating medical reports in a PDF format.
Installation
using this command.
npm install @medicus.ai/medicus-report-pdf-generator
Usage
const {generateMedicusPDF} = require('@medicus.ai/medicus-report-pdf-generator');
async function generatePDF(json) {
try {
const data = await generateMedicusPDF(json);
return data;
}
catch (e) {
throw new Meteor.Error(500, 'error', e);
}
}