0.0.11 • Published 6 years ago

zipizape v0.0.11

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

zipizape Build Status

Extract zip contents in the browser with ease

Demo

https://zzarcon.github.io/zipizape

Install

$ yarn add zipizape

Usage

import {ZipiZape} from 'zipizape';

const zipizape = new ZipiZape();
const entries = await zipizape.readFile(event.target.files[0])

for (let entry of entries) {
  const content = await entry.getContent();

  console.log(content.type, content.blob)
}

API

ZipiZape

readFile(file: File): Promise<Entry[]>

Entry

getContent(): Promise<EntryContent | undefined>

EntryContent = {
  blob: Blob
  type: string
}

Credits

Zipizape uses jszip as the zip reader engine, much love to them for building such a great project 💖

0.0.10

6 years ago

0.0.11

6 years ago

0.0.9

6 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