koajs / koa-body

koa body parser middleware
MIT License
950 stars 130 forks source link

add queryString for qs #48

Closed jaskang closed 7 years ago

jaskang commented 7 years ago

here only encoding and limit

in co-body->form used qs module return opts.qs.parse(str, opts.queryString);

qs will also limit specifying indices in an array to a maximum index of 20. Any array members with an index of greater than 20 will instead be converted to an object with the index as the key