Client library for Affinity in node.js