UNPKG

@pi2star/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.

133 lines (132 loc) 2.83 kB
{ "name": "@pi2star/koa-better-body", "version": "3.0.41", "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": "tunnckoCore/koa-better-body", "author": "Charlike Mike Reagent <@tunnckoCore> (http://www.tunnckocore.tk)", "main": "index.js", "license": "MIT", "scripts": { "lint": "eslint ./*js ./test/*.js --fix", "test": "npm-run-all -s lint test:*", "test:api": "nyc --reporter lcov node test.js", "test:report": "nyc report", "prerelease": "npm test", "release": "standard-version --sign --no-verify", "git": "npm-run-all -s git:*", "git:add": "git add --all", "git:cz": "git-cz", "commit": "npm-run-all -s test git" }, "dependencies": { "extend-shallow": "3.0.2", "formidable": "1.2.1", "@pi2star/koa-body-parsers": "3.0.0" }, "devDependencies": { "commitizen": "4.0.3", "coveralls": "3.0.6", "cz-conventional-changelog": "3.0.2", "eslint": "5.16.0", "is-buffer": "2.0.3", "koa": "1.6.2", "koa-route": "3.2.0", "mukla": "0.4.9", "npm-run-all": "4.1.5", "nyc": "13.1.0", "pre-commit": "1.2.2", "qs": "6.8.0", "standard": "11.0.1", "standard-version": "7.0.0", "supertest": "4.0.2" }, "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": [ "bytes", "formidable", "koa", "koa-body-parsers", "koa-convert", "lazy-cache", "raw-body", "koa-router", "micromatch", "qs" ], "lint": { "reflinks": true } }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "nyc": { "check-coverage": true, "statements": 100, "functions": 90, "branches": 88, "lines": 100 } }