• Creates a zip reader from the given data.

    Parameters

    • data: any

      Data in the .zip package

    Returns Reader

    Example

    import * as zip from 'zip';

    const reader = zip.readZip(...);
    for (const f in reader.listFiles()) {
    const data = f.readData();
    // do something with data.
    }