paqueue
paqueue is a small lib for parallel execution of a list of functions. you can add a function that will be called, after every other function in the list is executed.
Installation
$ npm install paqueue
Usage
'use strict'; let pq = ; ; // will output:// 2// 1// done here