I needed a simple way to retry requests from the request
library at exponentially increasing intervals because a certain api fails in a predictable way.
Run npm i
To track changes install nodemon: npm i -g nodemon
To run the server with nodemon: npm run server
To run the server without nodemon: node app.js
Make sure the server is running, then run node main.js
I don't plan on finishing this, it's a proof of concept.