A plugin for parsing Excel files in Flatfile
@flatfile/plugin-xlsx-extractor
plugin is designed to extract structured data from Excel files. It utilizes various libraries to parse Excel files and retrieve the structured data efficiently.listener.on('file:created')
.xls
, .xlsx
, .xlsm
, .xlsb
, .xltx
, .xltm
dateNF
parameter allows you to specify the date format for parsing
dates. (i.e. yyyy-mm-dd
)chunkSize
parameter allows you to specify the quantity of records to in
each chunk.parallel
parameter allows you to specify the number of chunks to process
in parallel.headerDetectionOptions
parameter allows you to specify the options for
detecting headers in the file. By default, the first 10 rows are scanned for
the row with the most non-empty cells.debug
parameter lets you toggle on/off helpful debugging messages for
development purposes.api.files.download
api.files.get
api.files.update
api.jobs.ack
api.jobs.complete
api.jobs.create
api.jobs.fail
api.jobs.update
api.records.insert
api.workbooks.create
@flatfile/api@1.4.9+
@flatfile/hooks@1.3.0+
@flatfile/listener@0.3.15
@flatfile/util-extractor@0.3.0
provides utility functions for extracting and parsing data from various file formats and sources, streamlining data import processes.remeda
offers a set of utility functions for functional programming and data manipulation in JavaScript, providing a convenient way to work with arrays and objects.xlsx
allows for reading, writing, and manipulating Microsoft Excel files in JavaScript applications.default
, explicitHeaders
, and specificRows
. By default, the first 10 rows are scanned for the row with the most non-empty cells. This row is then used as the header row.
rowsToSearch
rows and takes the row
with the most non-empty cells as the header, preferring the earliest
such row in the case of a tie.
{ rowNumbers: [2] }
.
ExcelExtractor
is initialized with optional options, and then registered as middleware with the Flatfile listener. When an Excel file is uploaded, the plugin will extract the structured data and process it using the extractor’s parser.