qiao-z-upload
v5.0.0
Published
nodejs multer tool
Downloads
21
Maintainers
Readme
qiao-z-upload
qiao-z upload module
api
// config
const config = require('./server/config.json');
// qz
const qz = require('qiao-z');
// options
const options = {
// upload,处理文件上传请求,会将文件信息返回到req.body
upload: require('qiao-z-upload'),
};
// app
const app = qz(options);
// listen
app.listen(config.port);