{"name":"connect-busboy","version":"0.0.2","author":{"name":"Brian White","email":"mscdex@mscdex.net"},"description":"Connect middleware for busboy","main":"./index","dependencies":{"busboy":"*"},"engines":{"node":">=0.8.0"},"keywords":["connect","middleware","uploads","forms","multipart","form-data"],"licenses":[{"type":"MIT","url":"http://github.com/mscdex/connect-busboy/raw/master/LICENSE"}],"repository":{"type":"git","url":"http://github.com/mscdex/connect-busboy.git"},"readme":"\nDescription\n===========\n\nConnect middleware for [busboy](https://github.com/mscdex/busboy).\n\n\nRequirements\n============\n\n* [node.js](http://nodejs.org/) -- v0.8.0 or newer\n\n\nInstall\n============\n\n    npm install connect-busboy\n\n\nExample\n=======\n\n```javascript\nvar busboy = require('connect-busboy');\n\n// default options, no immediate parsing\napp.use(busboy());\n// ...\napp.use(function(req, res) {\n  req.busboy.on('file', function(fieldname, file, filename, encoding, mimetype) {\n    // ...\n  });\n  req.busboy.on('field', function(key, value, keyTruncated, valueTruncated) {\n    // ...\n  });\n  req.pipe(req.busboy);\n  // etc ...\n});\n\n// default options, immediately start reading from the request stream and\n// parsing\napp.use(busboy({ immediate: true }));\n// ...\napp.use(function(req, res) {\n  req.busboy.on('file', function(fieldname, file, filename, encoding, mimetype) {\n    // ...\n  });\n  req.busboy.on('field', function(key, value, keyTruncated, valueTruncated) {\n    // ...\n  });\n  // etc ...\n});\n\n// any valid Busboy options can be passed in also\napp.use(busboy({\n  highWaterMark: 2 * 1024 * 1024,\n  limits: {\n    fileSize: 10 * 1024 * 1024\n  }\n}));\n\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/mscdex/connect-busboy/issues"},"homepage":"https://github.com/mscdex/connect-busboy","_id":"connect-busboy@0.0.2","_shasum":"ac5c9c96672171885e576c66b2bfd95d3bb11097","_from":"https://registry.npmjs.org/connect-busboy/-/connect-busboy-0.0.2.tgz","_resolved":"https://registry.npmjs.org/connect-busboy/-/connect-busboy-0.0.2.tgz"}