1.0.4 • Published 4 years ago
node-request-crawler v1.0.4
A middleware to provide interface for listing all the incoming request to a express server.
Note: the incoming request is stored locally using SQL lite, the request list will be deleted when the express server restarts.
to install :
npm i node-request-crawler
Note : Dont use this middleware in production environment
Usage To use this middleware declare the following line before other routers
const nodeRequestCrawler = require('node-request-crawler');
// other line
app.use(nodeRequestCrawler({
packageName: "Package Name",
description: "package description"
}))
// Package routers
both packageName and description is optional, if not given it will be replaced by '-'.
the server will be on http://localhost:5223 for now the ports cannot be change will be supported in future builds.
Upcoming features
- CPU usage monitor
- More details regarding request.
- Response details
- Using custom user-interface for displaying request