node-webuploader-server
v0.1.0
Published
webuploader server,大文件上传支持分片、并发、断点续传/秒传等
Downloads
10
Readme
node-webuploader-server
基于webuploader的大文件分块、并发上传,支持断点续传的Node服务端组件。
##安装
npm install node-webuploader-server --save
##例子
....
var webUploader = require('node-webuploader-server');
var router = express.Router();
var uploaderConfig = {uploadDir:path.join(__dirname, 'public','uploads'),limitExtension:null ....};
var uploder = new webUploader(uploaderConfig);
uploder.mount(router);
app.use('/upload',loginChecker,router);
function loginChecker(req, res, next) {
//todo check user login
next();
}
....
##配置
##TODO
....