node package manager

digger-files

File uploader and CSV file importer for digger

digger-files

A module to serve file uploads for an express server.

var express = require('express');
var Files = require('digger-files');
 
var filehandler = Files({
document_root:'/my/folder'
})
 
// false check access function 
filehandler.on('check_access', function(reqres){
res.send(null, [{
_digger:{
tag:'ok'
}
}])
})
 
var app = express();
app.use('/filestore', filehandler);
$ npm install digger-files

MIT