Installation
npm install multy
Usage
multy
will add all parts to req.body
or ctx.body
.
Parts is added in EXACTLY same order as received, important to mix of file and text in same form.
var Multy = app
options
is same as busboy
Example
// on koa v2, works as well in express with req.bodyconst fs = const Multy = const app = new const router = app routerrouterapp