Examples
Constructors
new ExcelFile()
Parameters
• data:Buffer
The binary data of the Excel file.
Returns
ExcelFile
Methods
getContent()
Parameters
• sheetNames?:string
[]
Optional. An array of sheet names to get content from.
Returns
Promise
<ExcelFileSheet
[]>
A promise that resolves to the content of the specified sheets.
Examples
fromUrl()
Parameters
• url:string
The URL of the Excel file.
Returns
Promise
<ExcelFile
>
A promise that resolves to an ExcelFile instance.