Skip to content

koajs/body-parsers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Koa Body Parsers

NPM version Build status Test coverage Greenkeeper badge 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.