node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป

koa-body-parsers

Koa Body Parsers

NPM version Build status Test coverage Dependency Status License Downloads

A more functional version of body parsing. Use this module if you want to "lazily" parse the body. Other middleware automatically parse the body in the middleware chain, which might not be ideal as business logic like authentication, authorization, and routing are not done prior to body parsing.

Includes a json and urlencoded parsers, as well as a utility to save streams to disk.

See https://github.com/koajs/koala/blob/master/docs/body-parsing.md for more details.