Module

x/zipjs/index.js>ZipDirectoryEntry#getChildByName

JavaScript library to zip and unzip files supporting multi-core compression, compression streams, zip64, split files and encryption.
Go to Latest
method ZipDirectoryEntry.prototype.getChildByName
import { ZipDirectoryEntry } from "https://dotland.deno.dev/x/zipjs@v2.7.52/index.js";

Gets a {@link ZipEntry} child instance from its relative filename

Parameters

name: string

The relative filename.

Returns

ZipEntry | undefined

A ZipFileEntry or a ZipDirectoryEntry instance (use the {@link ZipFileEntry#directory} and {@link ZipDirectoryEntry#directory} properties to differentiate entries).