node.js port of mpyq (https://github.com/arkx/mpyq)