npx depcheck
for checking un-used dependencies
- SetInmediate vs. nextTick: In essence, the names should be swapped. process.nextTick() fires more immediately than setImmediate(), but this is an artifact of the past which is unlikely to change. We recommend developers use setImmediate() in all cases. https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#process-nexttick-vs-setimmediate