JSZipObject

interface JSZipObject(source)

Properties

Link copied to clipboard
abstract val comment: String
Link copied to clipboard
abstract val date: Date
Link copied to clipboard
abstract val dir: Boolean
Link copied to clipboard
abstract val dosPermissions: Int?

The UNIX permissions of the file, if any.

Link copied to clipboard
abstract val name: String
Link copied to clipboard
Link copied to clipboard
abstract val unixPermissions: Int?

The UNIX permissions of the file, if any.

Link copied to clipboard
abstract val unsafeOriginalName: String?

Present for files loadded with loadAsync. May contain ".." path components that could result in a zip-slip attack. See https://snyk.io/research/zip-slip-vulnerability

Functions

Link copied to clipboard
abstract fun <R : JsAny> async(type: OutputType<R>, onUpdate: OnUpdateCallback? = definedExternally): Promise<R>

Prepare the content in the asked type.