A node.js sync publisher subscriber library