Cronicle Job Tools
This repository/directory is home to an NPM package that provides a few different things to simplify developing batch jobs that run in Cronicle.
Features
This section is where I'll break down the features that are made available by the package.
Constants
First things first, constants. I constantly (heh) find myself using the same strings across a number of projects/jobs so I added a section full of my most commonly used constants.
Logging
For example, one thing I'm doing all the time is spitting out a log message that the application has finished successfully or has finished with a non-zero exit code. This is where the ./src/lib/constants/Logging.ts
file comes in as it contains a constant for a successful or non-successful execution.