UNPKG

koa-joi-router

Version:

Configurable, input validated routing for koa.

66 lines (65 loc) 1.41 kB
{ "name": "koa-joi-router", "version": "8.0.0", "description": "Configurable, input validated routing for koa.", "main": "joi-router.js", "keywords": [ "joi", "koa", "router", "validate", "validator", "validation" ], "scripts": { "lint": "eslint ./*.js", "test": "mocha --exit", "test-cov": "nyc npm run test", "ci": "rimraf .nyc_output && npm run lint && npm run test-cov" }, "engines": { "node": ">= 12" }, "author": "Aaron Heckmann <aaron.heckmann+github@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/koajs/joi-router.git" }, "bugs": { "url": "https://github.com/koajs/joi-router/issues" }, "homepage": "https://github.com/koajs/joi-router", "dependencies": { "@koa/router": "^10.0.0", "await-busboy": "1.0.3", "clone": "2.1.2", "co-body": "6.0.0", "debug": "4.1.1", "delegates": "1.0.0", "flatten": "1.0.3", "is-gen-fn": "0.0.1", "joi": "^17.2.1", "methods": "1.1.2", "sliced": "1.0.1" }, "devDependencies": { "eslint": "^7.9.0", "koa": "^2.13.0", "mocha": "^8.1.3", "nyc": "^15.1.0", "rimraf": "^3.0.2", "supertest": "^4.0.2" }, "eslintConfig": { "extends": [ "eslint:recommended" ], "parserOptions": { "ecmaVersion": 2017 }, "env": { "node": true } } }