The required node version is v16.14.0. Alternatively, you can run:
shell:~$ nvm useTo build the script run:
shell:~$ yarn install
shell:~$ yarn test
shell:~$ yarn buildThe entry point CLI is executed with yarn start. Pass --help to show commands and arguments to commands:
shell:~$ yarn start
# ...
shell:~$ yarn start users --helpThe default log level is info. Set the desired level using env variable LOG_LEVEL:
shell:~$ LOG_LEVEL=debug yarn start usersAvailable levels: 'debug' | 'info' | 'warn' | 'error'
You can start a build on watch mode:
shell:~$ yarn build --watchOr use ts-node to compile and execute:
shell:~$ npx ts-node src/index.ts [...]To run tests on watch mode:
shell:~$ yarn test --watch