$ 0 0 Jint also has a .NET implementation of Esprima (I have written one myself too for an IDE). So you can also do the code validation in .NET.