Examples from Node.js the Right Way
Using instructions from here, but configure failed looking for libsodium.
Installed libsodium using instructions from here.
Instructions in the book were mostly correct, but npm install zmq initially failed. The solution is to install pkg-config, e.g. 'brew install pkg-config'
Found that fix here.