Closed kelvinhammond closed 2 years ago
@kelvinhammond Agree with you, but before merging, can you please open a ticket with a clear description of the problem/regression please?
@kelson42 issue here https://github.com/openzim/node-libzim/issues/80
Fixes #69 Fixes #79
This is a work in progress. The test script is what I'm using to test things as I develop, I'll add proper tests later. Once I figure out the threading issues I'll remove / cleanup the code.
Let me know if you want the API changed. I went with accessor methods for some of the C++ class methods because that is the current javascript style. This code could be dried out with all the try catch stuff but then it ends up looking a bit unwieldy so its not dry for readability and flexibility in this way.