
Facilitates convenient handling of dates, times, coordinates, colors, strings, and air quality. Offers a comprehensive suite of utilities with extensive test coverage.
KMPCode is a Kotlin Multiplatform library that helps developers more conveniently handle dates, times, coordinates, colors, strings, air quality, and more.
The minSdk is 26.
Add the following dependencies to your project:
plugins {
kotlin("plugin.serialization") version "2.1.0"
}
commonMain.dependencies {
// datetime
implementation("io.github.cjfsss:hos-datetime:1.0.2")
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.6.2")
// utils
implementation("io.github.cjfsss:hos-utils:1.0.0")
// ktor-plugin
implementation("io.github.cjfsss:hos-ktor-plugin:1.0.0")
// result
implementation("io.github.cjfsss:hos-result:1.0.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0")
// coordinates
implementation("io.github.cjfsss:hos-coordinates:1.0.0")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.0")
}
Copyright 2025
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
KMPCode is a Kotlin Multiplatform library that helps developers more conveniently handle dates, times, coordinates, colors, strings, air quality, and more.
The minSdk is 26.
Add the following dependencies to your project:
plugins {
kotlin("plugin.serialization") version "2.1.0"
}
commonMain.dependencies {
// datetime
implementation("io.github.cjfsss:hos-datetime:1.0.2")
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.6.2")
// utils
implementation("io.github.cjfsss:hos-utils:1.0.0")
// ktor-plugin
implementation("io.github.cjfsss:hos-ktor-plugin:1.0.0")
// result
implementation("io.github.cjfsss:hos-result:1.0.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0")
// coordinates
implementation("io.github.cjfsss:hos-coordinates:1.0.0")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.0")
}
Copyright 2025
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.