-
Notifications
You must be signed in to change notification settings - Fork 639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot initialize using node #199
Comments
thanks @gitbrent
Anyway I think it will be better having an initialization function. |
Thanks for the feedback @danidev ! Version 2.0 will expose the library in the standard Node fashion and won't require and work-arounds. |
hello,
I'm using PptxGenJS on a node/express application.
If I use
var pptx = require('pptxgenjs');
in several requests, the ppt is not initialized and adds slides on the same instance.
I saw that in client is possible using new keyword on every instance.
I cannot use the constructor, this doesn't work:
var pptxInstance = new pptx();
How can I create a new instance on every request?
Thanks,
Daniele
The text was updated successfully, but these errors were encountered: