koa-branch-router
Version:
Radix tree like router middleware for koa
72 lines (71 loc) • 1.56 kB
JSON
{
"name": "koa-branch-router",
"version": "1.1.0",
"description": "Radix tree like router middleware for koa",
"main": "lib/index.js",
"types": "index.d.ts",
"author": "Aravindan Ve",
"homepage": "https://github.com/aravindanve/koa-branch-router#readme",
"license": "ISC",
"files": [
"lib",
"index.d.ts",
"tsconfig.json"
],
"scripts": {
"lint": "eslint .",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json}\"",
"test": "mocha 'test/**/*.spec.js'",
"test:nyc": "nyc mocha 'test/**/*.spec.js'",
"perf": "node perf/index.js"
},
"dependencies": {
"debug": "^4.3.2",
"koa-compose": "^4.1.0"
},
"devDependencies": {
"@types/koa": "^2.13.4",
"chai": "^4.3.4",
"chai-samsam": "0.0.2",
"chai-spies": "^1.0.0",
"chalk": "^5.0.1",
"coveralls": "^3.1.1",
"eslint": "^8.17.0",
"eslint-config-prettier": "^8.5.0",
"koa": "^2.13.1",
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"prettier": "^2.3.2",
"supertest": "^6.2.3",
"typescript": "^4.3.5"
},
"keywords": [
"koa",
"middleware",
"route",
"router",
"radix",
"tree",
"trie"
],
"repository": {
"type": "git",
"url": "git+https://github.com/aravindanve/koa-branch-router.git"
},
"bugs": {
"url": "https://github.com/aravindanve/koa-branch-router/issues"
},
"nyc": {
"include": [
"lib/**/*.js"
],
"reportDir": "coverage",
"reporter": [
"text",
"html"
]
},
"engines": {
"node": ">= 12.8.0"
}
}