Convert MSG Outlook files to PDF.
Install via NPM either globally as:
npm i -g msg-to-pdf
or in your project with:
npm i msg-to-pdf
To use as a global module,
msg-to-pdf <path-to-msg-file>
or
msg-to-pdf <path-to-directory-containing-msg-files>
To use within your project,
const convertToPdf = require("msg-to-pdf");
convertToPdf("path-to-msg-file")
.then(() => {
// do something
});