New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

spin-up-ping

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spin-up-ping - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

16

package.json
{
"name": "spin-up-ping",
"version": "1.0.2",
"version": "1.0.3",
"description": "",

@@ -10,8 +10,2 @@ "main": "dist/index.js",

],
"scripts": {
"test": "jest",
"start": "node dist/index.js",
"dev": "ts-node-dev --respawn --transpile-only src/index.ts",
"build": "tsc"
},
"repository": {

@@ -69,3 +63,9 @@ "type": "git",

"typescript": "^5.3.0"
},
"scripts": {
"test": "jest",
"start": "node dist/index.js",
"dev": "ts-node-dev --respawn --transpile-only src/index.ts",
"build": "tsc"
}
}
}

@@ -40,5 +40,5 @@ # spin-up-ping 🚀

```typescript
import {ServerPingKeeper} from "spin-up-ping";
import {SpinUp} from "spin-up-ping";
const keeper = new ServerPingKeeper({
const pinger = new SpinUp({
url: "https://your-server.com", // Your server URL

@@ -57,6 +57,6 @@ intervalMinutes: 5, // Minimum 5 minutes

// Start pinging
keeper.start();
pinger.start();
// Stop pinging (if needed)
keeper.stop();
pinger.stop();
```

@@ -71,3 +71,3 @@

```typescript
interface PingKeeperOptions {
interface SpinUpOptions {
url: string; // URL to ping

@@ -74,0 +74,0 @@ intervalMinutes: number; // Interval between pings (min: 5)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc