Is there a guide somewhere on how to properly use ...
# compose-web
s
Is there a guide somewhere on how to properly use Karakum to generate bindings for js libraries? There’s a short guide in the repo but it doesn’t really get into how to actually get compilable generated bindings after the basic config is done I have this config:
Copy code
{
  "input": "<nodeModules>/maplibre-gl/dist/maplibre-gl.d.ts",
  "output": "src/jsMain/kotlin",
  "libraryName": "maplibre-gl"
}
and hundreds of errors to solve somehow
a
@turansky ^^
t
@Sergei Grishchenko ^^
You could also ask on the #maplibre channel in the OSM Slack
t
You can check existed subprojects in Kotlin Wrappers like
kotlin-react-router
https://github.com/JetBrains/kotlin-wrappers/tree/master/kotlin-react-router or
kotlin-node
.
s
I had a look at examples there, saw they're using a number of different Karakum config properties (in addition to their plugins) but wasn't able to find any documentation about those properties. I guess I'll have to read the Karakum codebase directly to understand what's happening here
😀 1