libreoffice-convert
A simple and fast node.js module for converting office documents to different formats.
Dependency
Please install libreoffice in /Applications (Mac), with your favorite package manager (Linux), or with the msi (Windows).
Usage example
const libre = ; const path = ;const fs = ; const extend = '.pdf'const enterPath = path;const outputPath = path; // Read fileconst file = fs;// Convert it to pdf format with undefined filter (see Libreoffice doc about filter)libre;