cron-allowed-range
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "cron-allowed-range", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Use cron-like expressions to test if a datetime is in an allowed range.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -25,2 +25,16 @@ [![CircleCI](https://circleci.com/gh/neverendingqs/cron-allowed-range.svg?style=svg)](https://circleci.com/gh/neverendingqs/cron-allowed-range) | ||
``` | ||
┌───────────── minute (0 - 59) | ||
│ ┌───────────── hour (0 - 23) | ||
│ │ ┌───────────── day of the month (1 - 31) | ||
│ │ │ ┌───────────── month (1 - 12) | ||
│ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday) | ||
│ │ │ │ │ | ||
│ │ │ │ │ | ||
│ │ │ │ │ | ||
* * * * * | ||
``` | ||
<small>_Diagram from | ||
[Wikipedia](https://en.wikipedia.org/wiki/Cron#Overview)_</small> | ||
### Example | ||
@@ -27,0 +41,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23912
61