
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
hapijs-status-monitor
Advanced tools
Simple, self-hosted module based on Socket.IO and Chart.js to report realtime server metrics for hapi.js servers.
Inspired from express-status-monitor

Install package
npm install hapijs-status-monitor --save
Register plugin
await server.register({ plugin: require('hapijs-status-monitor') });
Run server and go to /status
cd examples/npm inpm starthttp://localhost:8000/statusMonitor can be configured by passing options object into server register method
await server.register({
plugin: require('hapijs-status-monitor'),
options: {
title: 'My Status Monitor',
routeConfig: {
auth: false
}
}
});
Default options:
title: 'hapi.js Status',
path: '/status',
spans: [{
interval: 1, // Every second
retention: 60 // Keep 60 datapoints in memory
}, {
interval: 5, // Every 5 seconds
retention: 60
}, {
interval: 15, // Every 15 seconds
retention: 60
}],
routeConfig: {} // Route options, see https://github.com/hapijs/hapi/blob/master/API.md#route-options
Thanks goes to these wonderful people (emoji key):
z i λ a s a l 💻 ⚠️ 📖 | Daniel Bayerlein 💻 ⚠️ 📖 |
|---|
This project follows the all-contributors specification. Contributions of any kind welcome!
Copyright (c) 2016-present @ziyasal & @danielbayerlein. See LICENSE for details.
FAQs
Monitoring plugin for hapi.js applications
The npm package hapijs-status-monitor receives a total of 257 weekly downloads. As such, hapijs-status-monitor popularity was classified as not popular.
We found that hapijs-status-monitor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.