@ayonli/jsext
Version:
A JavaScript extension package for building strong and modern applications.
20 lines (17 loc) • 673 B
text/typescript
/**
* Functions and classes for collecting files into one single archive file, or
* extracting files from a archive file.
*
* This module currently supports the `tar` format, and is available in both
* server and browser environments.
*
* NOTE: This module depends on the Web Streams API, in Node.js, it requires
* Node.js v18.0 or above.
* @module
* @experimental
*/
import Tarball, { type TarEntry, type TarTree } from "./archive/Tarball.ts";
import tar, { type TarOptions } from "./archive/tar.ts";
import untar, { type UntarOptions } from "./archive/untar.ts";
export { Tarball, tar, untar };
export type { TarEntry, TarTree, TarOptions, UntarOptions };