Is that i want a library in c++ that transform the code in javascript, because I do not like having to learn and confuse the syntax for the syntax of JavaScript and C++ are very similar.
It either generates a native plugin that must be installed (fast) or generates code that Javascript can run (not so fast), making C++ code callable from Javascript.
Is it that you intend to develop in Javascript and don't want to use C++?