Split documents programmatically in JavaScript using REST API. A wide variety of file formats is supported, including Docx, PDF, HTML, JPG, PNG and many more....split Run code Output format DOCX PDF MD HTML TXT DOC DOT DOCM...fs. createReadStream ( "Input.docx" ); const request = new model...