Generates JS code from syntatically correct HTML code... following the DOM mapping methods of JS
- Fix to recognise open-ended tags e.g
<img src="" alt="">
should be treated as<img src="" alt=""></img>
- behaviour now is functions like sibling attribute is child Fix to refactor tag names so multiple tags don't end up with the same name when appending
JsGenerator is a proposed solution to generating Javascript code from HTML code following the JavaScript DOM structure.
Language: JAVA
Build Tool: Maven
Dependencies: jsoup
-
Clone
-
Import into your IDE
2.1. Build ->
mvn clean package
-
Browse through source codes and find Main file
-
Paste HTML code and test... should output some JS for you...