Eligibility API library in Node.js