Type aliases
ActionEnum
BaseBook
BaseItem
BaseItemParam
BaseItemParam: { size: number }
BaseParseContext
BaseParserOption
BaseParserOption: { overwrite: boolean; unzipPath: string }
Type declaration
-
overwrite: boolean
-
unzipPath: string
BaseParserOption
BaseParserOption: { overwrite: boolean; unzipPath: string }
Type declaration
-
overwrite: boolean
-
unzipPath: string
BaseParserOptionType
BaseParserOptionType: { overwrite: string; unzipPath: string }
Type declaration
-
overwrite: string
-
unzipPath: string
BaseParserOptionType
BaseParserOptionType: { overwrite: string; unzipPath: string }
Type declaration
-
overwrite: string
-
unzipPath: string
BaseReadContext
BaseReadOption
BaseReadOption: { force: boolean }
BaseReadOption
BaseReadOption: { force: boolean }
BaseReadOptionType
BaseReadOptionType: { force: string }
BaseReadOptionType
BaseReadOptionType: { force: string }
CryptoProviderOption
CryptoProviderOption: string
CryptoProviderPurpose
DecodeFunction
Decode
Function: (uint8ArrayOrBufferOrArray: IterableObject) => CryptoJs.lib.WordArray
Type declaration
-
-
Parameters
Returns CryptoJs.lib.WordArray
EncodeFunction
EncodeFunction: (wordArray: CryptoJs.lib.WordArray) => Uint8Array
Type declaration
-
- (wordArray: CryptoJs.lib.WordArray): Uint8Array
-
Parameters
-
wordArray: CryptoJs.lib.WordArray
Returns Uint8Array
EncodingList
EncodingObject
Encoding
Object: { decode: (str: string | IterableObject) => CryptoJs.lib.WordArray; encode: (wordArray: CryptoJs.lib.WordArray) => string | Uint8Array; name: string }
Type declaration
-
decode: (str: string | IterableObject) => CryptoJs.lib.WordArray
-
-
Parameters
Returns CryptoJs.lib.WordArray
-
encode: (wordArray: CryptoJs.lib.WordArray) => string | Uint8Array
-
- (wordArray: CryptoJs.lib.WordArray): string | Uint8Array
-
Parameters
-
wordArray: CryptoJs.lib.WordArray
Returns string | Uint8Array
-
name: string
EntryBasicInformation
EntryBasicInformation: { entryPath: string; getFile: (options: { end: number; endocing: string }) => Promise<Buffer> | Buffer; size: number }
Type declaration
-
entryPath: string
-
getFile: (options: { end: number; endocing: string }) => Promise<Buffer> | Buffer
-
- (options: { end: number; endocing: string }): Promise<Buffer> | Buffer
-
Parameters
-
options: { end: number; endocing: string }
-
end: number
-
endocing: string
Returns Promise<Buffer> | Buffer
-
size: number
ErrorType
ErrorType: { code: string; format: string }
Type declaration
-
code: string
-
format: string
Errors
FileEntryObject
FileEntryObject<T, S>: { find: (entryPath: string, strict: boolean) => S; first: S; forEach: (callback: (value: S, index: number, array: S[]) => void) => void; get: (idx: number) => S; length: number; map: (callback: (value: S, index: number, array: S[]) => any) => void; sort: (callback: (a: S, b: S) => number) => void; source: T }
Type parameters
Type declaration
-
find: (entryPath: string, strict: boolean) => S
-
- (entryPath: string, strict: boolean): S
-
Parameters
-
entryPath: string
-
strict: boolean
Returns S
-
first: S
-
forEach: (callback: (value: S, index: number, array: S[]) => void) => void
-
- (callback: (value: S, index: number, array: S[]) => void): void
-
Parameters
-
callback: (value: S, index: number, array: S[]) => void
-
- (value: S, index: number, array: S[]): void
-
Parameters
-
value: S
-
index: number
-
array: S[]
Returns void
Returns void
-
get: (idx: number) => S
-
length: number
-
map: (callback: (value: S, index: number, array: S[]) => any) => void
-
- (callback: (value: S, index: number, array: S[]) => any): void
-
Parameters
-
callback: (value: S, index: number, array: S[]) => any
-
- (value: S, index: number, array: S[]): any
-
Parameters
-
value: S
-
index: number
-
array: S[]
Returns any
Returns void
-
sort: (callback: (a: S, b: S) => number) => void
-
- (callback: (a: S, b: S) => number): void
-
Parameters
-
callback: (a: S, b: S) => number
-
-
Parameters
Returns number
Returns void
-
source: T
GetFileOptions
GetFileOptions: { encoding: string; end: number }
Type declaration
-
encoding: string
-
end: number
HashFunction
Type declaration
-
-
Parameters
Returns string
HashList
IZipEntryPlus
IterableObject
IterableObject: any[] | Uint8Array | Buffer
LogLevel
LogLevel: { DEBUG: string; ERROR: string; INFO: string; SILENT: string; VERBOSE: string; WARN: string }
Type declaration
-
DEBUG: string
-
ERROR: string
-
INFO: string
-
SILENT: string
-
VERBOSE: string
-
WARN: string
LoggerOptions
Logger
Options: { logLevel: LogLevel; namespace: string }
MatchOption
MatchOption: { CONTAINING: number; ENDSWITH: number; MATCHING: number; STARTSWITH: number }
Type declaration
-
CONTAINING: number
-
ENDSWITH: number
-
MATCHING: number
-
STARTSWITH: number
ModeConfig
ModeConfig: { iv?: string; key: string }
Type declaration
-
Optional iv?: string
-
key: string
ModeList
ModeObject
Mode
Object: { configTypes: ModeConfig; name: string; op: any }
OnProgressCallBack
OnProgressCallBack: (step: number, totalStep: number, action: string) => void
Type declaration
-
- (step: number, totalStep: number, action: string): void
-
Parameters
-
step: number
-
totalStep: number
-
action: string
Returns void
PaddingList
PaddingObject
Padding
Object: { name: string; op: PaddingList; pad: (data: CryptoJs.lib.WordArray) => void; unpad: (data: CryptoJs.lib.WordArray) => void }
Type declaration
-
name: string
-
-
pad: (data: CryptoJs.lib.WordArray) => void
-
- (data: CryptoJs.lib.WordArray): void
-
Parameters
-
data: CryptoJs.lib.WordArray
Returns void
-
unpad: (data: CryptoJs.lib.WordArray) => void
-
- (data: CryptoJs.lib.WordArray): void
-
Parameters
-
data: CryptoJs.lib.WordArray
Returns void
ParserAction
ParserAction: string
Purpose
ReadEntriesReturnType
Type declaration
-
-
-
Parameters
-
entryPath: string
-
strict: boolean
-
-
-
-
length: number
-
-
-
-
Parameters
-
-
-
Parameters
Returns number
Returns void
-
source: string
Task
Task: { fun: Function; name: string }
Type declaration
-
fun: Function
-
name: string
UINT8Object
ZipFileInformation
Zip
FileInformation: { cryptoProvider: CryptoProvider; extractAll: (unzipPath: string, overwrite?: boolean) => Promise<any>; file: string; files: any[]; find: (entryPath: string) => any; getFile: (entry: any, options?: GetFileOptions) => Promise<Buffer | string>; logger: Logger }
Type declaration
-
-
extractAll: (unzipPath: string, overwrite?: boolean) => Promise<any>
-
- (unzipPath: string, overwrite?: boolean): Promise<any>
-
Parameters
-
unzipPath: string
-
Optional overwrite: boolean
Returns Promise<any>
-
file: string
-
files: any[]
-
find: (entryPath: string) => any
-
getFile: (entry: any, options?: GetFileOptions) => Promise<Buffer | string>
-
-
Parameters
Returns Promise<Buffer | string>
-
ZipfileEntryInformation
ZipfileEntryInformation: { extraFieldLength: number; method: string }
Type declaration
-
extraFieldLength: number
-
method: string
"parse"