Socket
Socket
Sign inDemoInstall

uuid-cron

Package Overview
Dependencies
69
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"name": "uuid-cron",
"version": "1.0.3",
"version": "1.0.4",
"description": "",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -12,3 +12,3 @@ # uuid-cron

```javascript
const { init, uuidv4CronLimited } = require('uuid-cron');
const { init, uuidv4CronLimited, stop } = require('uuid-cron');
// run cron job every 20 seconds with 30 random uuids each time.

@@ -24,1 +24,6 @@ // for the first param, read for more details: https://www.npmjs.com/package/human-to-cron

4. **stop the cron job on finish**
```javascript
stop();
```
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc