fedownload
v1.0.2
Published
this is fe-download package
Downloads
8
Readme
fe-download
this is fe-download package
# install dependencies
npm install axios;
npm install fedownload;
# 1:依赖axios
# 2:params参数介绍
# {
# method:'',
# url: '',
# contentType: '',
# params: {},
# title: '',
# conType: '',
# postfix: '',
# }
# method (request method), url (request url), params (request params), title (download title), conType (download type // for example: # 'application/vnd.ms-excel'), postfix (download 后缀名), contentType (post方法下)(request params type)
# 3:remind 接口的返回需要是stream流的形式
####### useage
for example:
import download from 'fedownload';
download(params);
if you has any question please visit (https://www.npmjs.com/settings/weizhongqiang/packages)