PptxGenJS

A “presentation” is a single .pptx file.

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

Angular/React, ES6, TypeScript, NodeJS

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

Script/Web Browser

let pres = new PptxGenJS();