Gathering detailed insights and metrics for sancronos-validator
Gathering detailed insights and metrics for sancronos-validator
Gathering detailed insights and metrics for sancronos-validator
Gathering detailed insights and metrics for sancronos-validator
npm install sancronos-validator
Typescript
Module System
Min. Node Version
Node Version
NPM Version
73.8
Supply Chain
99.4
Quality
77.5
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
9 Stars
19 Commits
1 Forks
2 Watchers
1 Branches
3 Contributors
Updated on Sep 06, 2022
Latest Version
1.2.0
Package Id
sancronos-validator@1.2.0
Size
11.00 kB
NPM Version
3.10.10
Node Version
6.10.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Cron expression validator
Install sancronos-validator
1$ npm install sancronos-validator
Accepts clasic crontab
x x x x x
┬ ┬ ┬ ┬ ┬
│ │ │ │ │
│ │ │ │ │
│ │ │ │ └───── day of week (0 - 7, - * /) (0 or 7 is sunday)
│ │ │ └────────── month (1 - 12 , - * /)
│ │ └─────────────── day of month (1 - 31 , - * /)
│ └──────────────────── hour (0 - 23 , - * /)
└───────────────────────── minutes (0 - 59 , - * /)
Accepts extended crontab
x x x x x x x
┬ ┬ ┬ ┬ ┬ ┬ ┬
│ │ │ │ │ │ │
│ │ │ │ │ │ └ year (1900 - 3000 , - * /) optional
│ │ │ │ │ └───── day of week (0 - 7 , - * / L #) (0 or 7 is sunday)
│ │ │ │ └────────── month (1 - 12 , - * /)
│ │ │ └─────────────── day of month (1 - 31 , - * / L W)
│ │ └──────────────────── hour (0 - 23 , - * /)
│ └───────────────────────── minutes (0 - 59 , - * /)
└────────────────────────────── seconds (0 - 59 , - * /) optional
But... who can use sancronos-validator
?
Answer: Everyone!
For Promise lovers
1const sancronos = require("sancronos-validator"); 2//.. 3sancronos.isValid("* * * * *") 4.then(function(crontab) { 5 //.. do something 6}) 7.catch(function(err) { 8 // handle error 9});
For callback lovers
1const sancronos = require("sancronos-validator"); 2//.. 3sancronos.isValid("* * * * *", (err, crontab) => { 4 if(err){ 5 //Oops I did it again! 6 } 7 //Do something with your newly validated crontab 8});
For sync lovers
1const sancronos = require("sancronos-validator"); 2//.. 3let crontab = sancronos.isValid("* * * * *", true); 4//Do something with your crontab 5//Be aware that in case it's invalid, it will throw an error.
See test/
for more details.
Start
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 1/12 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More