0.0.0 • Published 6 years ago
express-har-capture v0.0.0
Express HAR capture
Express middleware that captures HAR-traces of passing requests.
Currently very alpha, so use with caution
Usage
var app = express();
app.use(harCapture({}))
app.get('/', function (req, res, next) { ... });
This will output a HAR-file for each request in the webserver's current working directory.
Options
mapRequestToName
: Function that given the req
will come up with a sensible
filename for the HAR to be put in.
harOutputDir
: Where to put the HAR-files. Defaults to process.cwd()
.
License
Three-clause BSD
1.0.5-beta
6 years ago
1.0.4-beta
6 years ago
1.0.3-beta
6 years ago
1.0.2-beta
6 years ago
1.0.1-beta
6 years ago
1.0.0-beta
6 years ago
0.0.0
11 years ago