Constructors
Methods
StatictoBase64String
- toBase64String(
file: Document,
prettify?: boolean | "" | " " | " " | "\t",
): Promise<string> Parameters
- file: Document
Optionalprettify: boolean | "" | " " | " " | "\t"
Returns Promise<string>
StatictoBlob
- toBlob(
file: Document,
prettify?: boolean | "" | " " | " " | "\t",
): Promise<Blob> Parameters
- file: Document
Optionalprettify: boolean | "" | " " | " " | "\t"
Returns Promise<Blob>
StatictoBuffer
- toBuffer(
file: Document,
prettify?: boolean | "" | " " | " " | "\t",
): Promise<Buffer> Parameters
- file: Document
Optionalprettify: boolean | "" | " " | " " | "\t"
Returns Promise<Buffer>
StatictoStream
- toStream(file: Document, prettify?: boolean | "" | " " | " " | "\t"): Stream
Parameters
- file: Document
Optionalprettify: boolean | "" | " " | " " | "\t"
Returns Stream
StatictoString
- toString(
file: Document,
prettify?: boolean | "" | " " | " " | "\t",
): Promise<string> Parameters
- file: Document
Optionalprettify: boolean | "" | " " | " " | "\t"
Returns Promise<string>