node-unrar

0.1.6 • 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');

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.
});

TODO

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

License

Apache-2.0 ©

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.6
    51
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.6
    51
  • 0.1.5
    1
  • 0.1.2
    1
  • 0.1.1
    1
  • 0.1.0
    2

Package Sidebar

Install

npm i node-unrar

Weekly Downloads

56

Version

0.1.6

License

Apache-2.0

Unpacked Size

3.48 kB

Total Files

4

Last publish

Collaborators

  • scopsy