UNPKG

@koa/bodyparser

Version:
89 lines (88 loc) 1.97 kB
{ "name": "@koa/bodyparser", "version": "6.0.0", "description": "Koa body parsing middleware", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "require": "./dist/index.js", "import": "./dist/index.mjs" } }, "files": [ "dist" ], "scripts": { "build": "tsup", "lint": "xo", "lint:fix": "xo --fix", "test": "jest --detectOpenHandles", "test-ci": "npm run test -- --coverage", "prepublishOnly": "npm run build" }, "keywords": [ "koa", "body", "request-body", "bodyParser", "json", "urlencoded", "text", "xml" ], "author": { "name": "dead_horse", "email": "dead_horse@qq.com", "url": " http://deadhorse.me" }, "contributors": [ { "name": "Imed Jaberi", "email": "imed_jebari@hotmail.fr" } ], "license": "MIT", "devDependencies": { "@types/jest": "^29.5.0", "@types/koa": "^2.13.6", "@types/lodash.merge": "^4.6.7", "@types/node": "^22.15.21", "@types/supertest": "^6.0.3", "@types/type-is": "^1.6.3", "eslint-config-xo-lass": "^2.0.1", "husky": "^9.1.7", "jest": "^29.7.0", "koa": "^3.0.0", "supertest": "^7.1.1", "ts-jest": "^29.3.4", "ts-node": "^10.9.2", "tsup": "^8.5.0", "typescript": "^5.8.3", "xo": "^0.60.0" }, "dependencies": { "@types/co-body": "^6.1.3", "co-body": "^6.2.0", "lodash.merge": "^4.6.2", "type-is": "^2.0.1" }, "peerDependencies": { "koa": ">=2" }, "engines": { "node": ">= 18" }, "repository": { "type": "git", "url": "git://github.com/koajs/bodyparser.git" }, "bugs": { "url": "https://github.com/koajs/body-parser/issues" }, "homepage": "https://github.com/koajs/body-parser", "publishConfig": { "access": "public" } }