Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/koajs/body-parsers
collection of koa body parsers
https://github.com/koajs/body-parsers
Last synced: about 1 month ago
JSON representation
collection of koa body parsers
- Host: GitHub
- URL: https://github.com/koajs/body-parsers
- Owner: koajs
- License: mit
- Created: 2014-06-13T03:03:47.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-04-11T16:28:01.000Z (5 months ago)
- Last Synced: 2024-04-14T13:08:39.043Z (5 months ago)
- Language: JavaScript
- Size: 139 KB
- Stars: 38
- Watchers: 4
- Forks: 10
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-koa - body-parsers - collection of koa body parsers (Middleware)
- awesome-koa - koa-body-parsers - Koa请求正文解析器集合。![](https://img.shields.io/github/stars/koajs/koa-body-parsers.svg?style=social&label=Star) ![](https://img.shields.io/npm/dm/koa-body-parsers.svg?style=flat-square) (仓库 / 中间件)
README
# Koa Body Parsers
[![NPM version][npm-image]][npm-url]
[![Build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![Greenkeeper badge](https://badges.greenkeeper.io/koajs/body-parsers.svg)](https://greenkeeper.io/)
[![Dependency Status][david-image]][david-url]
[![License][license-image]][license-url]
[![Downloads][downloads-image]][downloads-url]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.
[npm-image]: https://img.shields.io/npm/v/koa-body-parsers.svg?style=flat-square
[npm-url]: https://npmjs.org/package/koa-body-parsers
[travis-image]: https://img.shields.io/travis/koajs/body-parsers.svg?style=flat-square
[travis-url]: https://travis-ci.org/koajs/body-parsers
[coveralls-image]: https://img.shields.io/coveralls/koajs/body-parsers.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/koajs/body-parsers
[david-image]: http://img.shields.io/david/koajs/body-parsers.svg?style=flat-square
[david-url]: https://david-dm.org/koajs/body-parsers
[license-image]: http://img.shields.io/npm/l/koa-body-parsers.svg?style=flat-square
[license-url]: LICENSE
[downloads-image]: http://img.shields.io/npm/dm/koa-body-parsers.svg?style=flat-square
[downloads-url]: https://npmjs.org/package/koa-body-parsers