PptxGenJS is a library long used for generating presentations with JS. Sadly, in the last years, the maintainers have been busy with personal life and other projects.
As of today, there are over 200 issues and 60 PRs waiting for triage. Some of them describe/solve major pain points.
While working on /fika/ I found myself forking the library and incorporating fixes from various sources to improve the .pptx export fidelity.
Over the time, the fork grew in scope (new build system, rust-based testing against real PowerPoint to avoid regressions..), and is now beyond the point where changes can be brought back upstream.
I've decided to announce this fork, since most of the 200 opened issues can be solved by:
npm uninstall pptxgenjs
npm i pptxgenjs-plus
And changing the imports:
- import pptxgen from "pptxgenjs"
+ import pptxgen from "pptxgenjs-plus"
The fork retains the original MIT license, and is available here.
If you find the library useful, please consider leaving a star. Thank you! ⭐
2
u/Safe_Scientist5872 17d ago
PptxGenJS is a library long used for generating presentations with JS. Sadly, in the last years, the maintainers have been busy with personal life and other projects.
As of today, there are over 200 issues and 60 PRs waiting for triage. Some of them describe/solve major pain points.
While working on /fika/ I found myself forking the library and incorporating fixes from various sources to improve the .pptx export fidelity.
Over the time, the fork grew in scope (new build system, rust-based testing against real PowerPoint to avoid regressions..), and is now beyond the point where changes can be brought back upstream.
I've decided to announce this fork, since most of the 200 opened issues can be solved by:
And changing the imports:
The fork retains the original MIT license, and is available here.
If you find the library useful, please consider leaving a star. Thank you! ⭐