Wrapper for Unrar library.
OTHER License
Unrar wrapper for Node-js.
Created to unrar archives using unrar
library.
npm install node-unrar
You must install unrar
from rarlab website and put it in your PATH.
var Unrar = require('node-unrar');
var rar = new Unrar('/path/to/file.rar');
/// Create '/path/to/dest/' before rar.extract()
rar.extract('/path/to/dest/', null, function (err) {
//file extracted successfully.
});
Utilize a second argument as an options object for password protected rar's and other available options.
Apache-2.0 ©