This can be used as a starting point for CL programs written for Node on the IBMi.
It contains:
- logging from winston
- http requests from axios
- db access via knex
- smtp via nodemailer
- xlsx generation via node-xlsx
- csv generation via node-csv
- sftp capabilities via ssh2-sftp-client
- date formatting via dayjs
The generic.cl file is an example CL program for running the node application. There is an example handler as well as an example repository. Some of the utility functions are already defined.
This starter uses jsdoc for types and avoiding the compilation step.