mirror of
https://github.com/kmitresse/Compo-Service-Log-Project.git
synced 2026-07-09 12:07:45 +00:00
13 lines
310 B
TypeScript
13 lines
310 B
TypeScript
import { createGunzip } from "node:zlib";
|
|
import { Duplex } from "node:stream";
|
|
import { Archive } from "./";
|
|
|
|
class GzipArchive implements Archive {
|
|
public static instance: Archive = new GzipArchive();
|
|
|
|
public extract(source: string): Duplex {
|
|
return createGunzip();
|
|
}
|
|
}
|
|
export default GzipArchive;
|