Hey! I’ve started playing around with KotlinJs whi...
# javascript
m
Hey! I’ve started playing around with KotlinJs while trying to migrate a project from nodejs to kotlin/js. I’ve ran into some issues with dukat since I require some packages from npm. Maybe someone here knows any replacements? I’m using express which I would assume can be replaced by ktor, but I’ve run into issues with the googleapis package, dukat can’t process it and I’m not sure if there is multiplatform support for said apis (specifically gmail and sheets). Any help would be appreciated
t
You can convert declarations manually, if they are simple. And save it in separate subproject(s), like here. If you use small part of API, then you can convert them only.
m
Yeah, that's what I ended up doing. But that's what dukat was supposed to be for. Unfortunately it generates invalid declarations. But it's a good start