UNPKG

koa2-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.

188 lines (187 loc) 4.51 kB
{ "_args": [ [ { "raw": "koa-better-body", "scope": null, "escapedName": "koa-better-body", "name": "koa-better-body", "rawSpec": "", "spec": "latest", "type": "tag" }, "/project/myali/project/website" ] ], "_from": "koa-better-body@latest", "_inCache": true, "_location": "/koa-better-body", "_nodeVersion": "6.6.0", "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/koa-better-body-3.0.2.tgz_1475970958416_0.34398391959257424" }, "_npmUser": { "name": "tunnckocore", "email": "mameto_100@mail.bg" }, "_npmVersion": "3.10.8", "_phantomChildren": {}, "_requested": { "raw": "koa-better-body", "scope": null, "escapedName": "koa-better-body", "name": "koa-better-body", "rawSpec": "", "spec": "latest", "type": "tag" }, "_requiredBy": [ "#USER", "/" ], "_resolved": "https://registry.npmjs.org/koa-better-body/-/koa-better-body-3.0.2.tgz", "_shasum": "f4f7be7d7148422fa023c25771924422f51877fb", "_shrinkwrap": null, "_spec": "koa-better-body", "_where": "/project/myali/project/website", "author": "Charlike Mike Reagent <@tunnckoCore> (http://www.tunnckocore.tk)", "bugs": { "url": "https://github.com/tunnckocore/koa-better-body/issues" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "dependencies": { "extend-shallow": "^2.0.1", "formidable": "^1.0.17", "koa-body-parsers": "git+https://github.com/tunnckoCore/body-parsers.git", "lazy-cache": "^2.0.1" }, "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.", "devDependencies": { "commitizen": "^2.8.6", "coveralls": "^2.11.12", "cz-conventional-changelog": "^1.2.0", "is-buffer": "^1.1.3", "koa": "^1.2.4", "koa-route": "^2.4.2", "mukla": "^0.4.1", "nyc": "^8.1.0", "pre-commit": "^1.1.3", "qs": "^6.2.1", "standard": "^8.0.0", "standard-version": "^2.4.0", "supertest": "^2.0.0" }, "directories": {}, "dist": { "shasum": "f4f7be7d7148422fa023c25771924422f51877fb", "tarball": "https://registry.npmjs.org/koa-better-body/-/koa-better-body-3.0.2.tgz" }, "files": [ "index.js", "utils.js" ], "homepage": "https://github.com/tunnckocore/koa-better-body#readme", "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" ], "license": "MIT", "main": "index.js", "maintainers": [ "tunnckocore <mameto_100@mail.bg>" ], "name": "koa2-better-body", "optionalDependencies": {}, "repository": { "type": "git", "url": "git+https://github.com/tunnckocore/koa-better-body.git" }, "scripts": { "commit": "git-cz", "coverage": "nyc node test.js", "lint": "standard --verbose", "lint:coverage": "nyc check-coverage --lines 100 --branches 85 --statements 100 --functions 90", "posttest": "npm run lint:coverage", "precommit": "git add --all", "prerelease": "npm test", "pretest": "npm run lint", "release": "standard-version --sign --no-verify", "report-coverage": "nyc report --reporter=text-lcov | coveralls", "test": "npm run coverage" }, "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 } }, "version": "0.1.1" }