busboy is indeed the best alternative currently, but it is not the 
friendliest when it comes to its interface. I wrote a super friendly 
wrapper on top of it. Take a look at 
Multer<https://github.com/hacksparrow/multer>. 
A minimal options object all you need to pass it to make it work.

On Sunday, January 26, 2014 10:40:45 AM UTC+5:30, [email protected] wrote:
>
> I've been looking to replace connect.multipart() in my express middleware 
> stack now that it's been deprecated, and will be removed in Connect 3.0.
>
> It seems there are a few different takes on replacing this, and I wanted 
> to see if anyone's got any feedback or knows something I've missed.
>
> A good solution (as decided upon by Ghost, see 
> https://github.com/TryGhost/Ghost/issues/1227) seems to be 
> busboy<https://github.com/mscdex/busboy>, 
> but it looks like switching to this would require a decent rewrite of any 
> part of an app that handle file uploads.
>
> As mentioned in this express issue, 
> https://github.com/visionmedia/express/issues/1793, connect-multiparty 
> seems to be a drop-in replacement for connect.multipart, except the author 
> recommends against using it (
> https://github.com/andrewrk/connect-multiparty). Among other issues, it 
> leaves the implementation of cleaning up temp files to the developer. The 
> multiparty project itself suggests busboy as a better solution, for 
> performance.
>
> Kraken on the other hand implemented formidable for multipart handling: 
> https://github.com/paypal/kraken-js/pull/54
>
> I'm interested in any experience or feedback anyone has on this topic, as 
> I'm looking to replace express.bodyParser in 
> KeystoneJS<http://keystonejs.com/>, 
> preferably in a backwards-comptible way.
>
> It would be great to hear an up to date perspective from the community on 
> this issue as a whole. Express is a bit of a standard for node.js web 
> development, so by default bundled middleware like connect.multipart was 
> too. Any ideas on what might emerge as the new standard* for multipart 
> upload handling?
>
> Is anyone working on / has implemented a solution to multipart form 
> handling recently that I haven't mentioned above?
>
> Thanks,
> Jed.
>
> * by standard, I realise there are no standards, just not sure how better 
> to put it. I just don't want to implement solution A if another solution B 
> is more popular or has better support, which is why I'm looking for 
> feedback.
>
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to