Releases: YuJianrong/node-unrar.js
Releases · YuJianrong/node-unrar.js
Release Version v1.0.0
- Refactory by the latest EMScripten and UnRar DLL source. Since both of them changed a lot, there are many breaking changes in this update
- (Breaking change): Use Javascript Exception instead of tuple
[state, result]
for error handling. - (Breaking change): The extractor object return by
createExtractorFromData
andcreateExtractorFromFile
are now promise object. Since loading the wasm object in the latest EMScriten is asynchronized. - (Breaking change): The
fileHeaders
andfiles
returned by the extractions api are changed from array to iterator, make the extraction lazy.