Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

node-unrar-update

0.2.0 • Public • Published

node-unrar NPM version Dependency Status

Unrar wrapper for Node-js.

node-unrar

Created to unrar archives using unrar library.

Installation

npm install node-unrar

You must install unrar from rarlab website and put it in your PATH.

Example

var Unrar = require('node-unrar-update');
 
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 succesfully.
});

TODO

Utilize a second argument as an options object for password protected rar's and other avilable options.

License

Apache-2.0 ©

install

npm i node-unrar-update

Downloadsweekly downloads

1

version

0.2.0

license

Apache-2.0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability