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.

135 lines (134 loc) 2.87 kB
{ "name": "koa-better-body", "version": "3.3.9", "licenseStart": 2014, "license": "MPL-2.0", "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.", "author": "Charlike Mike Reagent <opensource@tunnckocore.com> (https://tunnckocore.com)", "homepage": "https://tunnckocore.com/opensource", "funding": [ "https://ko-fi.com/tunnckoCore/commissions", "https://github.com/sponsors/tunnckoCore", "https://patreon.com/tunnckoCore", "https://tidelift.com/funding/github/npm/koa-better-body" ], "repository": { "type": "git", "url": "https://github.com/tunnckoCore/opensource.git", "directory": "@packages/koa-better-body" }, "main": "dist/main/index.js", "module": "dist/module/index.js", "files": [ "dist" ], "engines": { "node": ">=8.11" }, "publishConfig": { "access": "public", "tag": "latest" }, "scripts": {}, "dependencies": { "extend-shallow": "^3.0.2", "formidable": "^1.2.1", "koa-body-parsers": "tunnckocore/body-parsers#patch-1" }, "devDependencies": { "is-buffer": "^2.0.4", "koa": "^1.7.0", "koa-route": "^3.2.0", "qs": "^6.9.1", "supertest": "^4.0.2" }, "jest": { "coverageThreshold": { "src/index.js": { "statements": 100, "branches": 100, "functions": 100, "lines": 100 }, "src/utils.js": { "statements": 100, "branches": 88, "functions": 91, "lines": 100 } } }, "cov": { "value": 95.56, "color": "99CC09" }, "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" ], "verb": { "readme": "../../readme-template.md", "run": true, "toc": { "render": true, "method": "preWrite", "maxdepth": 3 }, "layout": "empty", "tasks": [ "readme" ], "lint": { "reflinks": true }, "related": { "list": [ "koa", "koa-ip-filter", "ip-filter", "formidable", "koa-body-parsers", "koa-bodyparser", "koala" ] }, "reflinks": [ "bytes", "formidable", "koa", "koa-body-parsers", "koa-convert", "koa-router", "lazy-cache", "micromatch", "qs", "raw-body" ] }, "gitHead": "b7a468acc6f3103e9b384e3d3201f55be7727ea7" }