
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
pagemon-sdk
Advanced tools
A lightweight network monitoring SDK that automatically tracks API calls, detects slow requests, and monitors network failures with smart throttling and instant alerts.
pagemon-sdk is a lightweight API/network monitoring & alert SDK that automatically tracks API calls, detects slow requests, and monitors network failures with smart throttling and instant alerts.
Install the SDK via npm:
npm install pagemon-sdk
Log in to PageMon and create a new project.
Add webhook URLs for Discord, slack, or email notifications. You can update these integrations later from your project settings.
After creating your project, copy your unique App ID from the dashboard. This ID connects your application to PageMon.
Add pagemon() at the top of any file you want to monitor for network calls:
import { pagemon } from 'pagemon-sdk';
// Place this at the very top of your file
pagemon('YOUR_APP_ID');
// Your component code...
const LoginComponent = async () => {
// All fetch calls in this file will be automatically monitored
const response = await fetch('https://api.example.com/login');
return response;
};
login.tsx - Monitor authentication API calls:
import { pagemon } from 'pagemon-sdk';
pagemon('YOUR_APP_ID');
const LoginPage = () => {
// Monitor all login-related API calls
const handleLogin = async () => {
const response = await fetch('/api/auth/login', {
method: 'POST',
body: JSON.stringify({ email, password })
});
return response;
};
};
user-profile.tsx - Monitor user data APIs:
import { pagemon } from 'pagemon-sdk';
pagemon('YOUR_APP_ID');
// All API calls in this component are monitored
payment.tsx - Monitor payment processing:
import { pagemon } from 'pagemon-sdk';
pagemon('YOUR_APP_ID');
// Payment API calls automatically tracked
You can configure how notifications are sent:
// Send to backend only (default)
pagemon('YOUR_APP_ID');
// Send to console only (for development)
pagemon('YOUR_APP_ID', { notify: 'console' });
// Send to both console and backend
pagemon('YOUR_APP_ID', { notify: 'both' });
For complete documentation, visit https://www.pagemon.space/documentation
MIT License
FAQs
A lightweight network monitoring SDK that automatically tracks API calls, detects slow requests, and monitors network failures with smart throttling and instant alerts.
We found that pagemon-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.