UNPKG

zip-iterator

Version:

Extract contents from zip archive type using an iterator API using streams or paths. Use stream interface and pipe transforms to add decompression algorithms

5 lines (4 loc) 275 B
import type { Entry, EntryCallback } from './types.js'; import type ZipIterator from './ZipIterator.js'; export type NextCallback = (error?: Error, entry?: Entry) => undefined; export default function nextEntry<_T>(iterator: ZipIterator, callback: EntryCallback): undefined;