{"_id":"koa-response-time","_rev":"26-4c33c9512881992ad9b1e921664c6971","name":"koa-response-time","description":"X-Repsonse-Time middleware for koa","dist-tags":{"latest":"2.1.0","next":"2.0.0"},"versions":{"1.0.0":{"name":"koa-response-time","description":"X-Repsonse-Time middleware for koa","repository":{"type":"git","url":"koajs/response-time"},"version":"1.0.0","keywords":["koa","middleware","response","duration"],"files":["index.js"],"devDependencies":{"koa":"0.0.1"},"license":"MIT","_id":"koa-response-time@1.0.0","dist":{"shasum":"d3b6352b6909fb7f4b62271c8ce4509a53affd72","tarball":"https://registry.npmjs.org/koa-response-time/-/koa-response-time-1.0.0.tgz","integrity":"sha512-rFL8nYdM6GZygbNPUBaGL0WXSx+FSiPOUhzFCBHMdlvDk8ifhJOgw5KNstH1tpGNrEcZF9l9OpS5It126bkBZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCF+JAB050MZ646Ot2DIxgz9V7+rHaVP9QE+CGi0Ic4wIhAL6CJ/H3MdpQyEWoTEceh6P+38UAF8Q2pIB1RQjwNhHD"}]},"_from":".","_npmVersion":"1.3.4","_npmUser":{"name":"tjholowaychuk","email":"tj@vision-media.ca"},"maintainers":[{"name":"tjholowaychuk","email":"tj@vision-media.ca"}],"directories":{}},"1.0.1":{"name":"koa-response-time","description":"X-Repsonse-Time middleware for koa","repository":{"type":"git","url":"git://github.com/koajs/response-time"},"version":"1.0.1","keywords":["koa","middleware","response","duration"],"files":["index.js"],"devDependencies":{"koa":"*"},"license":"MIT","bugs":{"url":"https://github.com/koajs/response-time/issues"},"homepage":"https://github.com/koajs/response-time","_id":"koa-response-time@1.0.1","dist":{"shasum":"a38b9145b81f7cedc929265a8cd9b13ccf0a9298","tarball":"https://registry.npmjs.org/koa-response-time/-/koa-response-time-1.0.1.tgz","integrity":"sha512-p4w96JRK3gqx6Mx3TlQvjqPZtoCub6cf46ShyY0bsbfluDNe6PiHlV1MKCrRjeJAxxnTZjCphjuiVAmPlULKTw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDylSV9o3DVpvUhJz0SrfKnggWzyJ00bx6zMW5+2OmoSwIgCvwcuDY5zNek/+URHeWlnXzRIVlz3BZQL6SwLJ2gBP0="}]},"_from":".","_npmVersion":"1.3.18","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"directories":{}},"1.0.2":{"name":"koa-response-time","description":"X-Repsonse-Time middleware for koa","repository":{"type":"git","url":"git://github.com/koajs/response-time"},"version":"1.0.2","keywords":["koa","middleware","response","duration"],"files":["index.js"],"devDependencies":{"koa":"*"},"license":"MIT","bugs":{"url":"https://github.com/koajs/response-time/issues"},"homepage":"https://github.com/koajs/response-time","_id":"koa-response-time@1.0.2","dist":{"shasum":"35ea38df719fc7c1d2eddb8544a74b3650712884","tarball":"https://registry.npmjs.org/koa-response-time/-/koa-response-time-1.0.2.tgz","integrity":"sha512-zCRhHREy97lZijJn6Gj6PJtQvJHpONyFkAIYu8/HMf1FQ3j7bhLEEYG1fPWh5YApPAornofqucx/9F+2ft2eZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBCgqnpIOhShC2ExyWNK8TGHVZ1JLqhwYXHc13LYTKKWAiEA2W6cASB7HuM2SQtDLGyXXxe7ao6bdlbdimLOTp5+7J4="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"directories":{}},"2.0.0":{"name":"koa-response-time","description":"X-Repsonse-Time middleware for koa","repository":{"type":"git","url":"git+https://github.com/koajs/response-time.git"},"version":"2.0.0","keywords":["koa","middleware","response","duration"],"files":["index.js"],"devDependencies":{"koa":"*"},"publishConfig":{"tag":"next"},"license":"MIT","gitHead":"60f5b8016aed59ff84b41837c1e876f2b9ff456c","bugs":{"url":"https://github.com/koajs/response-time/issues"},"homepage":"https://github.com/koajs/response-time#readme","_id":"koa-response-time@2.0.0","scripts":{},"_shasum":"9590b54284dc59a9ec10f80b69048a66188342bb","_from":".","_npmVersion":"3.8.2","_nodeVersion":"5.9.1","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"dist":{"shasum":"9590b54284dc59a9ec10f80b69048a66188342bb","tarball":"https://registry.npmjs.org/koa-response-time/-/koa-response-time-2.0.0.tgz","integrity":"sha512-808FaebsV1Fo8mEj8kVbOxroxYYPIZjvLPEs/Laj6c6p6Uj7XpDrBlfsG76DiQ438k8y4Jb9x3WrCXBpI+fwmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/mr/JIqwj8hwh5GO9I4I7CHl2UUU6qJ5DfTLK/q/5bQIhAO3VyefY5Y0e6J28UWm+CJyIRpSjU9nqYca3ltPeS1Ed"}]},"maintainers":[{"name":"aheckmann","email":"aaron.heckmann+github@gmail.com"},{"name":"coderhaoxin","email":"coderhaoxin@outlook.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eivifj","email":"eivind.fjeldstad@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/koa-response-time-2.0.0.tgz_1458794190299_0.6485228009987622"},"directories":{}},"2.1.0":{"name":"koa-response-time","description":"X-Repsonse-Time middleware for koa","repository":{"type":"git","url":"git+https://github.com/koajs/response-time.git"},"version":"2.1.0","scripts":{"lint":"eslint . --fix","test":"mocha --exit"},"keywords":["koa","middleware","response","duration"],"devDependencies":{"eslint":"^5.9.0","eslint-config-koa":"^2.0.2","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","koa":"^2.6.2","mocha":"^5.2.0","supertest":"^3.3.0"},"license":"MIT","gitHead":"23c147e08cc99ce0d9dc2d51e6d63742922f6585","bugs":{"url":"https://github.com/koajs/response-time/issues"},"homepage":"https://github.com/koajs/response-time#readme","_id":"koa-response-time@2.1.0","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"coderhaoxin","email":"haoxins@icloud.com"},"dist":{"integrity":"sha512-W2YvnmqmmdEwjJh2rvUPqDD+yjnKvIQry6JhV9dHEwGpfcRzjmQBRVNg62Czbvut/Dpf+l7b9uFauet157UeUQ==","shasum":"bc8473207255fcbddaf10004bd7a8e59f2e948c9","tarball":"https://registry.npmjs.org/koa-response-time/-/koa-response-time-2.1.0.tgz","fileCount":4,"unpackedSize":2743,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/S1gCRA9TVsSAnZWagAAl9QP/1TTiayebikBiX669oFt\nt5y7mCIHRVHxViH8lRmdaP+QCC21Woluy17QcMrm5l4WiTzfGy9bKRRIuPm/\ncxbxbRJuOtZ9BgLwRhH9ShnuCinRV99LAIQAmj9DRXvzsozIYhxpK+AMZV3n\nOkQoT3PMqlmdLoffJfXPmucjWj7AX9zEYVBy09TXaLAOfWZZdBNQdkhH/MHx\nZLkFaSAGhFxzIxxbSQomBU8oWI/gw5zT5O/XHazrjo2S2H5D4L9Ms9kvLwcX\nwUWrTX9HTGry85RI1nZ2wkjs4QTmaonDQhpXO7MfBYwHhOP9jCTs269r/G7A\ncn0WGfP6PC2CiV9dZsppXg3EbQSLjVUGJiP7/Y+RZysrpcCxzkXylHjYONlt\n8BCJyaiXF75wawMbRzo6qDHRKdiUcuwmoh/GM0z5FZ5cjgwNGqLhIBSehbUc\nPKBlFccVGpOHWNsemti0F8+IH6BBe2gaip/16/gj43G64pKIFziHQb3PHWzc\n33IP0T3f77PT+Wcw8HeURJVaFz309CPfStf/hhfYWSS8oWbuhK/Mwfdam1ih\nFtMg/LdH4pnLiVkNfsunNi4uFPOHN0w8/ZF0kfxrc8YFIgRgG3PRI7oAWy7M\nb/Ik7aHEV+n9zxEOh21qNPCDYIuwL9eDW33vT0ggQuNK9s/WMcZgf5cE81aH\nvBq4\r\n=0I8c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIClZe5ZVTRi8+xFwo2Q6cvNs5+yOVeUFUucPCPNiv+l4AiEAhzJenbnWn3QVQ/4B7aoalHpsGfl9es4iO25VQIVlH0k="}]},"maintainers":[{"email":"aaron.heckmann+github@gmail.com","name":"aheckmann"},{"email":"haoxins@outlook.com","name":"coderhaoxin"},{"email":"dead_horse@qq.com","name":"dead_horse"},{"email":"eivind.fjeldstad@gmail.com","name":"eivifj"},{"email":"fengmk2@gmail.com","name":"fengmk2"},{"email":"jonathanrichardong@gmail.com","name":"jongleberry"},{"email":"julian@juliangruber.com","name":"juliangruber"},{"email":"tj@vision-media.ca","name":"tjholowaychuk"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-response-time_2.1.0_1543318879763_0.838385678136931"},"_hasShrinkwrap":false}},"readme":"\n# koa-response-time\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/koajs/response-time.svg)](https://greenkeeper.io/)\n\n  X-Response-Time middleware for Koa.\n\n## Installation\n\n```js\n$ npm install koa-response-time\n```\n\n## Usage\n\n  Basic usage:\n\n```js\nconst Koa = require('koa');\nconst responseTime = require('koa-response-time');\nconst app = new Koa();\n\napp.use(responseTime());\n```\n\n  If you need response high resolution in nano time, set `hrtime` option to `true`:\n\n```js\napp.use(responseTime({ hrtime: true }));\n```\n\n\n  Sample response header with `hrtime = false` (default):\n\n```\nX-Response-Time: 153ms\n```\n\n  Sample response header with `hrtime = true`:\n\n```\nX-Response-Time: 153.123581ms\n```\n\n## Note\n\n  Best to `.use()` at the _top_ before any other middleware,\n  to wrap all subsequent middleware.\n\n## License\n\n  MIT\n","maintainers":[{"email":"haoxinst@gmail.com","name":"coderhaoxin"},{"email":"niftylettuce@gmail.com","name":"niftylettuce"},{"email":"julian@juliangruber.com","name":"juliangruber"},{"email":"eivind.fjeldstad@gmail.com","name":"eivifj"},{"email":"dead_horse@qq.com","name":"dead_horse"},{"email":"tj@vision-media.ca","name":"tjholowaychuk"},{"email":"jonathanrichardong@gmail.com","name":"jongleberry"},{"email":"fengmk2@gmail.com","name":"fengmk2"},{"email":"npm@titanism.com","name":"titanism"}],"time":{"modified":"2022-06-19T09:25:48.594Z","created":"2013-08-17T07:07:21.580Z","1.0.0":"2013-08-17T07:07:23.129Z","1.0.1":"2013-12-22T00:08:54.530Z","1.0.2":"2014-03-23T21:39:33.937Z","2.0.0":"2016-03-24T04:36:30.723Z","2.1.0":"2018-11-27T11:41:19.846Z"},"repository":{"type":"git","url":"git+https://github.com/koajs/response-time.git"},"homepage":"https://github.com/koajs/response-time#readme","keywords":["koa","middleware","response","duration"],"bugs":{"url":"https://github.com/koajs/response-time/issues"},"license":"MIT","readmeFilename":"Readme.md","users":{"phoenix-xsy":true,"snowdream":true}}