UNPKG

koapi-body

Version:

Full-featured [koa][] body parser! Support parsing text, buffer, json, json patch, json api, csp-report, multipart, form and urlencoded bodies. Works for koa@1, koa@2 and will work for koa@3.

101 lines (100 loc) 1.9 kB
{ "name": "koapi-body", "version": "2.0.8", "description": "Full-featured [koa][] body parser! Support parsing text, buffer, json, json patch, json api, csp-report, multipart, form and urlencoded bodies. Works for koa@1, koa@2 and will work for koa@3.", "repository": "ntfs32/koa-better-body", "author": "shaddock", "precommit.silent": true, "main": "index.js", "license": "MIT", "scripts": { "test": "standard && node test.js" }, "dependencies": { "extend-shallow": "^2.0.1", "formidable": "^1.0.17", "koapi-body-parsers": "^3.0.0", "lazy-cache": "^2.0.0" }, "devDependencies": { "is-buffer": "^1.1.3", "koa": "^1.2.0", "mukla": "^0.3.1", "pre-commit": "*", "supertest": "^1.2.0" }, "files": [ "index.js", "utils.js" ], "keywords": [ "api", "awesome", "better", "body", "body-parser", "buffer", "csp", "csp-report", "error", "error-handling", "extendable", "feature", "features", "flexible", "form", "forms", "full", "full-feature", "handling", "json", "json-api", "json-patch", "json-strict", "jsonstrict", "koa", "koa-better-body", "multipart", "parse", "parser", "patch", "report", "rfc", "standard", "strict", "text", "unopinionated", "urlencoded" ], "verb": { "run": true, "toc": false, "layout": "empty", "tasks": [ "readme" ], "related": { "list": [ "koa", "koa-ip-filter", "ip-filter", "formidable", "koa-body-parsers", "koa-bodyparser", "koala" ] }, "reflinks": [ "koa", "koa-convert", "koa-body-parsers", "raw-body", "bytes", "formidable", "lazy-cache" ], "lint": { "reflinks": true } } }