1.0.1 • Published 5 years ago
export-to-xlsx v1.0.1
Export To Xlsx
The front end exports the XLSX method
Install
npm install export-to-xlsx
Usage
import ExportToXlsx from 'export-to-xlsx'
...
function exportData (data) {
const fileName = 'output'
const headers = [
{
k: 'key',
v: 'value'
},
...
]
ExportToXlsx(headers, data, fileName)
}
Author
blog: osenki
If you have any problem in using it, please feel free to give me feedback. You can communicate with me through the following contact information
License
ISC
Keywords
xlsx csv