1.0.1 • Published 5 years ago

node-uharc v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

node-uharc

License: MIT npm version

Node-uharc is a Node.JS wrapper for Uharc. It uses wine for Unix-based system compatibility.

Installation

$ npm install node-uharc --save-dev
Linux

It will ask for sudo to install wine if it's not already installed.

OSX

It will ask for sudo to install HomeBrew.

  • As default HomeBrew packages will never ask for sudo, but it will ask for Brew itself and to create a default wine folder that will break the installation if not existent (apparently High Sierra related)

How to use

Compress

const nodeUharc = require('node-uharc');

nodeUharc({
  action: 'compress',
  files: './*', // files or folder to compress (wildcards are supported)
  output: './bin/opt.uha', // output file
  compressionMode: 'LZP', // LZP or ALZ or PPM
  headerEncryption: true, // archive header encryption
  recursive: true, //should include subfolders
  clearFileArchiceAttr: true, // clear file archive attr
  multimediaCompression: true  // enable multimedia detection and compression
})

Extract

nodeUharc({
  action: 'extract',
  files: './bin/opt.uha', // files or folder to extract (wildcards are supported)
  output: '../tst', // output folder  
})

Changelog

License

Node-uhac - MIT Uharc (Copyright (c) 1997-2005 by Uwe Herklotz) - Free for non-commercial use

Notice

The only information I could find about Uharc license is that it's Free for non-commercial use.

1.0.1

5 years ago

1.0.0

5 years ago

0.0.9

5 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.1

6 years ago