Skip to main content
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://deno.land/x/zipjs@v2.7.43/index.js";

Gets a ZipEntry child instance from its relative filename

Parameters

name: string

The relative filename.

Returns

ZipEntry | undefined

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