1.0.3 • Published 3 years ago
koa2-formidable v1.0.3
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