OfficeParse: ((input, config) => Promise<{
to(format, config?): Promise<{
value: unknown;
messages?: unknown;
}>;
metadata?: {
pages?: number;
};
}>)
Type declaration
- (input, config): Promise<{
to(format, config?): Promise<{
value: unknown;
messages?: unknown;
}>;
metadata?: {
pages?: number;
};
}> Parameters
- input: Buffer
- config: Record<string, unknown>
Returns Promise<{
to(format, config?): Promise<{
value: unknown;
messages?: unknown;
}>;
metadata?: {
pages?: number;
};
}>
The part of officeparser this loader calls: its
parseOfficeexport, which answers a document that writes itself as text. The text writer's result lists the issues it reported among itsmessages.