
Security News
MCP Steering Committee Launches Official MCP Registry in Preview
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
hapi-log-requests
Advanced tools
yarn add hapi-log-requests
const logger = console.log.bind(console); // or another logger
server.register([
require('hapi-log-requests')(logger)
], (err) => {
if (err) {
throw err;
}
// start your server
});
On each request, we log this object:
{
method: "POST",
id: "1504621919235:blablabla.local:3923:j76p1h63:10000",
path: "/trips",
headers: {
"content-length": 29,
"host": localhost: 9999,
"content-type": "application/json",
// ...
},
payload: {
distance: 62100000000
},
response: {
msec: 22,
content: {
message: "Yeah, let's go!!!"
},
status: 200
},
query: {
destination: "Mars"
},
user: {
firstname: "Elon",
lastname: "Musk"
}
}
FAQs
``` yarn add hapi-log-requests ```
The npm package hapi-log-requests receives a total of 6 weekly downloads. As such, hapi-log-requests popularity was classified as not popular.
We found that hapi-log-requests demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.