simplesheetdownload
v0.0.2
Published
a simple script for downloading sheet in frontEnd
Downloads
8
Maintainers
Readme
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" }