kotlinx.html alternatives and similar libraries
Based on the "Web" category.
Alternatively, view kotlinx.html alternatives based on common mentions on social networks and blogs.
-
vertx-lang-kotlin
This module provides Kotlin language bindings including DSL and extension functions for vert.x 3 -
skrape.it
HTML testing and web scraping library providing an intuitive DSL to receive and either extract or check markup (a jSoup wrapper DSL with extra functionality) ๐ -
lambda-kotlin-request-router
A REST request routing layer for AWS lambda handlers written in Kotlin -
bootique-kotlin
Provides extension function and features for smooth development with Bootique and Kotlin. -
Zeko-RestApi
Fun, simple & lightweight async RESTful API framework on top of Vert.x. Automatic Swagger doc & code generation via Kotlin kapt -
graphql-kotlin-toolkit
GraphQL toolkit for Kotlin (includes code generator and spring boot integration)
Get performance insights in less than 4 minutes
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of kotlinx.html or a related project?
README
kotlinx.html
A kotlinx.html library provides DSL to build HTML to Writer/Appendable or DOM at JVM and browser (or other JavaScript engine) for better Kotlin programming for Web.
Get started
See Getting started page for details how to include the library.
DOM
You can build DOM tree with JVM and JS naturally
See example for JavaScript-targeted Kotlin
window.setInterval({
val myDiv = document.create.div("panel") {
p {
+"Here is "
a("https://kotlinlang.org") { +"official Kotlin site" }
}
}
document.getElementById("container")!!.appendChild(myDiv)
document.getElementById("container")!!.append {
div {
+"added it"
}
}
}, 1000L)
Stream
You can build HTML directly to Writer (JVM only) or Appendable (both JVM and JS)
System.out.appendHTML().html {
body {
div {
a("https://kotlinlang.org") {
target = ATarget.blank
+"Main site"
}
}
}
}
Documentation
See wiki pages
Building
See development page for details.
*Note that all licence references and agreements mentioned in the kotlinx.html README section above
are relevant to that project's source code only.