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