UNPKG

fh-request-timer

Version:

Express middleware to add a timer to all requests, sending the result to RHMAP stats and optionally adding the time taken as a response header

35 lines (34 loc) 863 B
{ "name": "fh-request-timer", "version": "1.0.1", "description": "Express middleware to add a timer to all requests, sending the result to RHMAP stats and optionally adding the time taken as a response header", "main": "index.js", "scripts": { "test": "mocha" }, "repository": { "type": "git", "url": "git+https://github.com/TinyExplosions/fh-request-timer.git" }, "keywords": [ "express", "RHMAP", "request", "timer" ], "author": "Al Graham", "license": "MIT", "bugs": { "url": "https://github.com/TinyExplosions/fh-request-timer/issues" }, "homepage": "https://github.com/TinyExplosions/fh-request-timer#readme", "dependencies": { "fh-mbaas-api": "~5.5.6", "on-headers": "~1.0.1" }, "devDependencies": { "express": "~4.13.4", "mocha": "~2.4.5", "supertest": "~1.2.0" } }