Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
Is there a nodejs version? I'd really like to use this in my own project. I tried to convert it by hand, but it was taking forever, and once an update comes out, well, I'd be screwed.