Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/koajs/is-json
check if a koa body should be interpreted as JSON
https://github.com/koajs/is-json
Last synced: 2 months ago
JSON representation
check if a koa body should be interpreted as JSON
- Host: GitHub
- URL: https://github.com/koajs/is-json
- Owner: koajs
- License: mit
- Created: 2014-04-25T07:12:22.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-05-29T17:59:23.000Z (over 1 year ago)
- Last Synced: 2024-04-14T13:08:40.198Z (8 months ago)
- Language: JavaScript
- Size: 19.5 KB
- Stars: 17
- Watchers: 4
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-koa - is-json - check if a koa body should be interpreted as JSON (Middleware)
- awesome-koa - koa-is-json - 检查 koa 主体是否应该被解析为 JSON。 ![](https://img.shields.io/github/stars/koajs/is-json.svg?style=social&label=Star) ![](https://img.shields.io/npm/dm/koa-is-json.svg?style=flat-square) (仓库 / 中间件)
README
# [**koa-is-json**](https://github.com/koajs/is-json)
[![Greenkeeper badge](https://badges.greenkeeper.io/koajs/is-json.svg)](https://greenkeeper.io/)
> Check if a body is JSON.
## License
[MIT](/LICENSE)