With 3.5.0, this sample code no longer works. It looks like the examples haven't been updated if the options with compression key are now required for stream() like they look to be for writeFile():
pptx.stream()
.then((data) => {
console.log(data);
});
In a Fiddle (open the console/inspector):
https://jsfiddle.net/hztm8p6k/1/
Solution is to provide compression option:
pptx.stream({compression: false})
.then((data) => {
console.log(data);
});
Is this supposed to be required?
With 3.5.0, this sample code no longer works. It looks like the examples haven't been updated if the options with
compressionkey are now required forstream()like they look to be forwriteFile():In a Fiddle (open the console/inspector):
https://jsfiddle.net/hztm8p6k/1/
Solution is to provide
compressionoption:Is this supposed to be required?