YAPG implementation in Javascript for Node.JS