cron-time-generator
Advanced tools
Comparing version 1.0.6 to 1.0.7
{ | ||
"name": "cron-time-generator", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Cron Time Expression Generator", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -21,3 +21,3 @@ # Cron-Time | ||
const cronTime = require('cron-time-generator'); | ||
// OR | ||
// OR (Typescript) | ||
import cronTime from "cron-time-generator"; | ||
@@ -88,3 +88,3 @@ | ||
``` | ||
Note: if a `$startDay` is specified then an `$endDay` must be specified also, else it will use the default values which may not tally with your new `$startDay` | ||
Note: if a `startDay` is specified then an `endDay` must be specified also, else it will use the default values which may not tally with your new `$startDay` | ||
@@ -95,3 +95,3 @@ Every method of `CronTime` returns exactly what its name says. | ||
```javascript | ||
const cronTime = require('./index'); | ||
const cronTime = require('cron-time-generator'); | ||
@@ -139,54 +139,54 @@ cronTime.every(5).minutes(); | ||
`everyHourAt($minute)` | ||
`everyHourAt(minuteOfTheHour)` | ||
`everyDay` | ||
`everyDayAt($hourOfTheDay)` | ||
`everyDayAt(hourOfTheDay)` | ||
`everySunday` | ||
`everySundayAt($hour, $minute?)` | ||
`everySundayAt(hour, minute?)` | ||
`everyMonday` | ||
`everyMondayAt($hour, $minute?)` | ||
`everyMondayAt(hour, minute?)` | ||
`everyTuesday` | ||
`everyTuesdayAt($hour, $minute?)` | ||
`everyTuesdayAt(hour, minute?)` | ||
`everyWednesday` | ||
`everyWednesdayAt($hour, $minute?)` | ||
`everyWednesdayAt(hour, minute?)` | ||
`everyThursday` | ||
`everyThursdayAt($hour, $minute?)` | ||
`everyThursdayAt(hour, minute?)` | ||
`everyFriday` | ||
`everyFridayAt($hour, $minute?)` | ||
`everyFridayAt(hour, minute?)` | ||
`everySaturday` | ||
`everySaturdayAt($hour, $minute?)` | ||
`everySaturdayAt(hour, minute?)` | ||
`everyWeek` | ||
`everyWeekAt($day, $hour?, $minute?)` | ||
`everyWeekAt(day, hour?, minute?)` | ||
`everyWeekDay` | ||
`everyWeekDayAt($hour, $minute, $startDay, $endDay)` | ||
`everyWeekDayAt(hour, $minute, startDay, endDay)` | ||
`everyWeekend` | ||
`everyWeekendAt($hour, $minute, $startDay, $endDay)` | ||
`everyWeekendAt(hour, minute, startDay, endDay)` | ||
`everyMonth` | ||
`everyMonthOn($day, $hour?, $minute?)` | ||
`everyMonthOn(day, hour?, minute?)` | ||
`everyYear` | ||
`everyYearIn($month, $day?, $hour?, $minute?)` | ||
`everyYearIn(month, day?, hour?, minute?)` |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
45243