cid 7c67d12f91b6f27f9fbb2f578bd31d831669ffd59d059e16aba0514a6aa63d41 · original · open access · via openalex
Title: ivanbaha/nestjs-env-getter: NPM library Authors: Ivan Baha Venue: Zenodo (CERN European Organization for Nuclear Research) Year: 2026 Canonical: doi:10.5281/zenodo.18314970 URL: https://doi.org/10.5281/zenodo.18314970 Collector: openalex OA: true ABSTRACT Added Cron Expression Support: Added getRequiredCron and getOptionalCron to parse cron environment variables into a CronSchedule. Supports both 5-field and 6-field cron formats. Provides helpers like isMatching, getNextTime, and getPrevTime. Cron Validation Utilities: Added and exported isValidCronExpression for validating cron strings (including basic semantic checks like rejecting impossible day/month combinations). Cron Semantics: Day-of-month and day-of-week follow standard cron behavior when both are specified (OR logic rather than requiring both to match). Changed Documentation & Examples: Expanded README cron documentation and updated the nestjs-server example to demonstrate cron schedules.