PptxGenJS

A “Presentation” is a single .pptx file.

(See Saving Multiple Presentations for information on creating more than a one PPTX file at-a-time).

Browser

let pres = new PptxGenJS();

Angular, React, Node, TypeScript, Electron, etc.

import pptxgen from "pptxgenjs";
let pres = new pptxgen();