/koa2-formidable

koa2 middleware for formidable

Primary LanguageJavaScriptOtherNOASSERTION

GET

npm install koa2-formidable --save

API

const formidable = require('koa2-formidable')
const Koa = require('koa')
const app = new Koa()
app.use(formidable (opt))

opt is formidable options.

Use

let { body, files } = ctx.request

LICENSE

MIT