UNPKG

koa-better-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.

121 lines (120 loc) 2.48 kB
{ "name": "koa-better-body", "version": "3.1.13", "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": { "type": "git", "url": "https://github.com/tunnckoCore/opensource.git", "directory": "packages/koa-better-body" }, "homepage": "https://tunnckocore.com/opensource", "author": "Charlike Mike Reagent <opensource@tunnckocore.com> (https://tunnckocore.com)", "license": "MPL-2.0", "main": "dist/main/index.js", "module": "dist/module/index.js", "typings": "dist/types/index.d.ts", "files": [ "dist" ], "keywords": [ "api", "awesome", "better", "body", "body-parser", "buffer", "csp", "csp-report", "error", "extendable", "feature", "features", "flexible", "form", "forms", "full", "full-feature", "handling", "json", "json-api", "koa", "koa-better-body", "multipart", "parse", "parser", "text", "urlencoded" ], "scripts": {}, "dependencies": { "extend-shallow": "^3.0.2", "formidable": "^1.2.1", "koa-body-parsers": "tunnckoCore/body-parsers#patch-1" }, "devDependencies": { "is-buffer": "2.0.3", "koa": "1.6.2", "koa-route": "3.2.0", "qs": "6.8.0", "supertest": "4.0.2" }, "publishConfig": { "access": "public", "tag": "latest" }, "jest": { "coverageThreshold": { "src/index.js": { "statements": 100, "branches": 100, "functions": 100, "lines": 100 }, "src/utils.js": { "statements": 100, "branches": 88, "functions": 91, "lines": 100 } } }, "licenseStart": 2014, "verb": { "run": true, "toc": { "render": true, "method": "preWrite", "maxdepth": 4 }, "layout": "empty", "tasks": [ "readme" ], "related": { "list": [ "koa", "koa-ip-filter", "ip-filter", "formidable", "koa-body-parsers", "koa-bodyparser", "koala" ] }, "reflinks": [ "bytes", "formidable", "koa", "koa-body-parsers", "koa-convert", "lazy-cache", "raw-body", "koa-router", "micromatch", "qs" ], "lint": { "reflinks": true } } }