This is an example how to use xlsx-import
in node + typescript.
LIB Version: 2.3.1
# install dependencies
npm install
# execute
npm start
# or execute and save into file
./node_modules/.bin/ts-node src/index.ts > result.json
- Read spreadsheet file Invoice.xlsx
- Following config import invoice data
- Map, return and display data (should be same as result.json).
- Study config and interfaces:
invoiceConfig.ts
- Usage package in
importer.ts
- Study documentation: docs
- Start using
xlsx-import
in your project - Ask a lot, report bugs and request for help: https://github.com/Siemienik/xlsx-import/issues
- Sponsor
xlsx-import
project