
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
spin-up-ping
Advanced tools
Keep your server awake and prevent it from spinning down due to inactivity! Perfect for free-tier hosting platforms like Render, Heroku, etc.
Keep your server awake and prevent it from spinning down due to inactivity! Perfect for free-tier hosting platforms like Render, Heroku, etc.
Free-tier hosting services often spin down your server after a period of inactivity (usually 15-30 minutes). This can lead to slow response times when the server needs to spin up again. spin-up-ping
solves this by sending periodic pings to keep your server alive.
# Using npm
npm install spin-up-ping
# Using yarn
yarn add spin-up-ping
# Using pnpm
pnpm add spin-up-ping
import {SpinUp} from "spin-up-ping";
const pinger = new SpinUp({
url: "https://your-server.com", // Your server URL
intervalMinutes: 5, // Minimum 5 minutes
onSuccess: (response) => {
// Optional success callback
console.log("Ping successful:", response);
},
onError: (error) => {
// Optional error callback
console.error("Ping failed:", error);
},
});
// Start pinging
pinger.start();
// Stop pinging (if needed)
pinger.stop();
interface SpinUpOptions {
url: string; // URL to ping
intervalMinutes: number; // Interval between pings (min: 5)
onSuccess?: (response: any) => void; // Success callback
onError?: (error: Error) => void; // Error callback
}
start()
: Start the ping servicestop()
: Stop the ping serviceFree Hosting Services
Development & Testing
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)ISC © Muhsin Abdul Nissar
If you found this package helpful, please consider giving it a star on GitHub!
FAQs
Keep your server awake and prevent it from spinning down due to inactivity! Perfect for free-tier hosting platforms like Render, Heroku, etc.
The npm package spin-up-ping receives a total of 8 weekly downloads. As such, spin-up-ping popularity was classified as not popular.
We found that spin-up-ping demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.