0.0.2 • Published 2 years ago
simplesheetdownload v0.0.2
simplesheetdownload
Format operations are not supported
下载
npm i simplesheetdownload --save
使用
import downExcel from simplesheetdownload
downExcel(data,fileName,headmap)
data (Required)
The data to be downloaded supports the object array format.
e.g:
[{ "a":"1", "b":"2" }]
fileName (Not required)
The file name after downloading.
headmap (Not required)
header dictionary.
e.g:
{ "a": "dog""", "b":"cat" }