Automatically removes temporary files created by connect's multipart middleware once the request is answered.
Want to see pretty graphs? Log in now!
npm install connect-fileupload-cleaner
|21||downloads in the last month|
|Last Published By|
|Version||0.0.1 last updated 2 years ago|
multipart middleware is great to handle incoming requests and file uploads, but you may be getting files without even knowing it on routes where you don't expect them, thus filling the disk progressively.
This middleware enforces their deletion after the response is done.
var connect = require('connect') , cleaner = require('connect-fileupload-cleaner') connect() .use(connect.bodyParser()) .use(cleaner()) [...]