@ts-kizuna/kotlin
v1.57.1
Published
Kotlin client generation for ts-kizuna contracts
Readme
@ts-kizuna/kotlin
@ts-kizuna/kotlin generates a native Kotlin client from your ts-kizuna contract. The generated client uses OkHttp for HTTP, kotlinx.serialization for JSON, and Kotlin coroutines for async.
Installation
pnpm add -D @ts-kizuna/kotlinUsage
ts-kizuna-kotlin generate --contract src/contract/index.ts --out android/app/src/main/kotlin/com/example/APIClient.kt --namespace-name API --package com.example