Adonis Spread Sheet
This is repo is a AdonisJs provider for simplicity work with sheets docs. It's base on powerful SheetJS
Install
npm i --save adonis-spreadsheet
Registering provider
The provider is registered inside start/app.js
file under providers
array.
const providers = 'adonis-spreadsheet/providers/SpreadSheetProvider'
That's all! Now you can use the mail provider as follows.
Getting started
const Route = const SpreadSheet = const User = Route
Then you can fire url /rest/users/export/csv
and received csv file sheet.
Supported formats
- xls
- xlsx
- csv
- ods