Hi,
have just finished porting the latest version of Ted Dunning TDigest algorithm to kotlin multiplatform:
https://github.com/beyondeye/tdigest_kotlin_multiplatform
Currently JVM an JS (including Node.JS and Typescript type definitions) are supported.
Support for Kotlin native could be also added easily using a library like kotlinx-io