uuid-cron
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "uuid-cron", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "", | ||
"main": "src/index.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/barazoulay/uuid-cron" | ||
}, | ||
"scripts": { | ||
@@ -7,0 +11,0 @@ "test": "echo \"Error: no test specified\" && exit 1", |
@@ -6,7 +6,7 @@ # uuid-cron | ||
1. **Install** | ||
**1. Install** | ||
```shell | ||
npm install uuid-cron | ||
``` | ||
2. **Init cron job** | ||
**2. Init cron job** | ||
```javascript | ||
@@ -19,3 +19,3 @@ const { init, uuidv4CronLimited, stop } = require('uuid-cron'); | ||
3. **Get random uuid according to the init params** | ||
**3. Get random uuid according to the init params** | ||
```javascript | ||
@@ -25,3 +25,3 @@ const randomUUID = uuidv4CronLimited(); | ||
4. **stop the cron job on finish** | ||
**4. stop the cron job on finish** | ||
```javascript | ||
@@ -28,0 +28,0 @@ stop(); |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
3986
0