Closed gopal-augment closed 3 years ago
Sorry, i have to write better documentation indeed. Work in progress. But it is just created for Node.JS. Or the documentation or the error's aren't clear enough. See also this example: https://github.com/w3nl/ppt-png/blob/master/test/test2.js or the tests: https://github.com/w3nl/ppt-png/blob/master/src/__tests__/converter.js
I used the same way you mentioned in that link. I got error
create is not a function of undefined
Do you have more information where it happened? (file + line number) Its now to generic for me.
const converter = Converter.create({ // **<= this line**
files: ['test/OPW 733 Tienduizend redenen.ppt'],
output: 'output/'
});
const result = converter.convert();
How do you import Converter
?
import Converter from 'ppt-png'
?
I just pasted your code and tried. Changed the file paths.
Is this cleared?
I have update the readme with a little more information. Do you need more information, or can you use the package now?
Really your documentation doesn't work with NodeJs. Waste of time.