A command-line application that parses and expands standard cron expressions to display the times each field will run. Built without external cron libraries to demonstrate core parsing and handling.
Make sure you have Node.js version 18 or higher installed on your machine. You can download it here.
Install the dependencies:
npm install
Pass a cron string as an argument:
npm start -- "*/15 0 1,15 * 1-5 /usr/bin/find"
Run tests in watch mode (recommended)
npm run test:watch
or run with debugger in VS Code (no need to setup)
or run and exit
npm test