
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.
@logdash/node
Advanced tools
Logdash is how SaaS founders keep their apps healthy. This package serves a NodeJS/Bun/Deno interface to use it.
Setup your free project in less than 2 minutes at logdash.io
npm install @logdash/node
import { Logdash } from '@logdash/node';
const logdash = new Logdash('<your-api-key>');
logdash.info('Application started successfully');
logdash.error('An unexpected error occurred');
logdash.warn('Low disk space warning');
const authLogdash = logdash.withNamespace('auth');
authLogdash.info('User logged in');
authLogdash.error('Authentication failed');
import { Logdash } from '@logdash/node';
const logdash = new Logdash('<your-api-key>');
// to set absolute value
logdash.setMetric('users', 0);
// to modify existing metric
logdash.mutateMetric('users', 1);
// Ensure all logs and metrics are sent before exiting
await logdash.flush();
To see the logs or metrics, go to your project dashboard

new Logdash(apiKey?, options?)
| Parameter | Required | Default | Description |
|---|---|---|---|
apiKey | no | - | Api key used to authorize against logdash servers. If you don't provide one, logs will be logged into local console only |
options.host | no | https://api.logdash.io | Custom API host, useful with self-hosted instances |
options.verbose | no | false | Useful for debugging purposes |
This project is licensed under the MIT License.
If you encounter any issues, please open an issue on GitHub or let us know at contact@logdash.io.
FAQs
How solo founders keep their SaaS apps healthy.
We found that @logdash/node demonstrated a healthy version release cadence and project activity because the last version was released less than 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
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.