const conversion = require('@groupdocs/groupdocs.conversion')

const licensePath = "GroupDocs.Search.lic";
const license = new conversion.License()
license.setLicense(licensePath);

// Load the input DOCX file
const converter = new conversion.Converter("sample.docx");

// Set the conversion options for PPTX format
const options = new conversion.PresentationConvertOptions();

// Save output PPTX to disk
converter.convert("output.pptx", options);

console.log('The end of process.');
process.exit(0);