clone of fng-ssn-tools just in node.js