All Projects → rf00 → minizip-asm.js

rf00 / minizip-asm.js

Licence: other
Minizip in javascript. Work with password. Demo:

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
C++
36643 projects - #6 most used programming language
CSS
56736 projects
shell
77523 projects

Projects that are alternatives of or similar to minizip-asm.js

Mzip Android
An Android compress and extract library support popular compression format such as rar, zip
Stars: ✭ 95 (+150%)
Mutual labels:  zip, extract
ZipArchive
A single-class pure VB6 library for zip with ASM speed
Stars: ✭ 38 (+0%)
Mutual labels:  zip, compress
Libarchivejs
Archive library for browsers
Stars: ✭ 145 (+281.58%)
Mutual labels:  zip, extract
Decompress
Extracting archives made easy
Stars: ✭ 316 (+731.58%)
Mutual labels:  zip, extract
ZeeArchiver
Zee is an efficient and simple to use Android Archiver and decompressor. It can decompress and compress from-to all the formats supported by the well known 7zip utility. Copyright © 2018 Mahmoud Galal , for support contact me:[email protected]
Stars: ✭ 35 (-7.89%)
Mutual labels:  zip, extract
Php Zip
PhpZip is a php-library for extended work with ZIP-archives.
Stars: ✭ 336 (+784.21%)
Mutual labels:  zip, extract
archiver-zip-encrypted
Plugin for archiver to create ZIP archives with password using either AES or legacy Zip 2.0 encryption
Stars: ✭ 50 (+31.58%)
Mutual labels:  zip, password
ZipCrack
Crack password protected zip files
Stars: ✭ 23 (-39.47%)
Mutual labels:  zip, password
pclzip-doc-zh-cn
PHP 库 PclZip 的简体中文翻译文档(zh-cn translation for PHP lib: PclZip)
Stars: ✭ 25 (-34.21%)
Mutual labels:  zip, compress
WindowTextExtractor
WindowTextExtractor allows you to get a text from any window of an operating system including asterisk passwords
Stars: ✭ 128 (+236.84%)
Mutual labels:  extract, password
Archiver
Easily create & extract archives, and compress & decompress files of various formats
Stars: ✭ 3,373 (+8776.32%)
Mutual labels:  zip, extract
QArchive
Async C++ Cross-Platform library that modernizes libarchive using Qt5 🚀. Simply extracts 7z 🍔, Tarballs 🎱 and other supported formats by libarchive. ❤️
Stars: ✭ 66 (+73.68%)
Mutual labels:  zip, compress
lzbase62
LZ77(LZSS) based compression algorithm in base62 for JavaScript.
Stars: ✭ 38 (+0%)
Mutual labels:  zip, compress
Nativexplatform
Akeeba Portable Tools (cross-platform) - Desktop utilities for use with Akeeba Backup and Akeeba Solo
Stars: ✭ 17 (-55.26%)
Mutual labels:  zip, extract
cracker-ng
ZIP cracker, CCRYPT cracker, and others to come.
Stars: ✭ 60 (+57.89%)
Mutual labels:  zip, password
Zydra
Stars: ✭ 178 (+368.42%)
Mutual labels:  zip, password
PLzmaSDK
PLzmaSDK is (Portable, Patched, Package, cross-P-latform) Lzma SDK.
Stars: ✭ 28 (-26.32%)
Mutual labels:  extract, compress
ratarmount
Random Access Read-Only Tar Mount
Stars: ✭ 217 (+471.05%)
Mutual labels:  zip, extract
Ob3vil1on
Another archive cracker created in python | cracking [zip/7z/rar] by bruteforcing [ NOT MAINTAINED ]
Stars: ✭ 17 (-55.26%)
Mutual labels:  zip, password
zzlib
zlib-compressed file depacking library in Lua
Stars: ✭ 44 (+15.79%)
Mutual labels:  zip, extract

minizip-asm.js

Build Status npm version

Minizip in javascript. Work with password. Demo: https://rf00.github.io/minizip-asm.js/example/

Features

  • Zip file
  • Extract file
  • Work with password

Installation

<script src="https://raw.githubusercontent.com/rf00/minizip-asm.js/master/lib/minizip-asm.min.js"></script>
npm install minizip-asm.js

var Minizip = require('minizip-asm.js');

Getting started

var fs = require("fs");

var text = new Buffer("Abc~~~");
var mz = new Minizip();

mz.append("haha/abc.txt", text, {password: "~~~"});
fs.writeFileSync("abc.zip", new Buffer(mz.zip()));

Usage

new Minizip(ArrayBuffer)

Constructor for making a new zip file or opening from existing one.

  • @ArrayBuffer {Buffer|Uint8Array} <optional> - It can be either Node.js Buffer read from zip file or Uint8Array in web browser.

  • @ Return an instance of Minizip.

mz.list(options)

List all files in Minizip with full filepath and have password or not.

  • @options <optional>

    • @encoding {"utf8"|"buffer"} <default="utf8"> - Since the filepath may not encode in utf8. It will be handy to have an ArrayBuffer to do detection on encoding.
  • @ Return an Array. Something like this:

    [{
      filepath: "haha/abc.txt",
      crypt: true // (type: boolean)
    }]

mz.extract(filepath, options)

Extract one file.

  • @filepath {String|Buffer|Uint8Array} - Full filepath to extract.

  • @options <optional>

    • @encoding {"utf8"|"buffer"} <default="buffer"> - File can return in text.

    • @password {String|Buffer|Uint8Array} <optional>

  • @ Return a Buffer.

mz.append(filepath, data, options)

Append one file.

  • @filepath {String|Buffer|Uint8Array} - Full filepath to extract.

  • @data {String|Buffer|Uint8Array} - File data.

  • @options <optional>

    • @password {String|Buffer|Uint8Array} <optional>

    • @compressLevel {Number} <default=5> - 0: Store only. 1: Compress faster. 9: Compress better.

  • @ Return nothing.

mz.zip()

Retrive zip file.

  • @ Return a Buffer.

Notice

  1. It is synchronize.
  2. Browser require >= IE11.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].