a simplification of the known node.js tool