
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@bugrecorder/sdk
Advanced tools
A lightweight package for monitoring server-side performance metrics and catching errors.
A lightweight package for monitoring server-side performance metrics and catching errors.
Please note that this package will work on your self hosted App (Node.js, Bun, Next.js, Deno on a VPS) means it will not work on any serverless platform Like (Vercel, AWS Lambda, Netlify, etc.).
npm i @bugrecorder/sdk --save
"npm:@bugrecorder/sdk" client.init({
apiKey: "1234567890",
domain: "test.bugrecorder.com"
});
This will send the metric to the dashboard automatickly
client.monitor({
serverName: "server_dev_1",
onData: (data) => {
console.log("data from monitor", data);
},
onError: (error) => {
console.log("error from monitor", error);
}
});
client.sendError({
domain: "test.bugrecorder.com",
message: "test",
stack: "test",
context: "test"
});
for the File System metrics (disk_read,disk_write): it needs to be any Linux system to get the vales for mac or windows you will get disk_read:0 and disk_read:0
if you are using pm2 with cluster ( exec_mode: 'cluster', // enables load balancing), in order to track each instance it needs to have a seprate name so add instance_var: 'INSTANCE_ID' either into ecosystem.config.js file or cli
client.monitor({
serverName: `server-${
isNotEmpty(process.env.INSTANCE_ID) ? process.env.INSTANCE_ID : 'dev'
}`})
this way you will have server-0 server-1 server-1 ....
You can use the logger to send logs to the dashboard. The logs will be stored and searchable in the dashboard.
import { logger } from '@bugrecorder/sdk';
logger.error(args);
logger.info(args);
logger.warning(args);
logger.debug(args);
logger.fatal(args);
logger.success(args);
logger.test(args);
logger.console(args);
if you have any issue, or need support contact us at dev @ bugrecorder.com (remove space it was added to prevent spam)
FAQs
A lightweight package for monitoring server-side performance metrics and catching errors.
We found that @bugrecorder/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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.