# Kotools Types
[![Kotools Types][kotools-types-badge]][kotools-types-project]
[![Embedded Kotlin][kotlin-embedded-badge]][kotlin]
[![Kotlin language][kotlin-language-badge]][kotlin]
[![kotlinx.serialization][kotlinx.serialization-badge]][kotlinx.serialization]
[![JVM Platform][jvm-platform-badge]][kotlin/jvm]
[![JS Platform][js-platform-badge]][kotlin/js]
[![Linux x64 Platform][linux-x64-platform-badge]][kotlin-native]
[![macOS x64 Platform][macos-x64-platform-badge]][kotlin-native]
[![macOS arm64 Platform][macos-arm64-platform-badge]][kotlin-native]
[![MinGW x64 Platform][mingw-x64-platform-badge]][kotlin-native]
> "Kool Types for Kotlin Multiplatform." -
> [@jmfayard](https://github.com/jmfayard)
Unlock the true potential of Kotlin's type system across Kotlin/JVM, Kotlin/JS,
and Kotlin Native platforms with Kotools Types â your comprehensive toolkit for
explicit type handling!
[js-platform-badge]: https://img.shields.io/badge/Platform-JS-ff9b00
[jvm-platform-badge]: https://img.shields.io/badge/Platform-JVM-6bac25
[kotlin]: https://kotlinlang.org
[kotlin-embedded-badge]: https://img.shields.io/badge/Embedded_Kotlin-1.8.22-blue?logo=kotlin
[kotlin-language-badge]: https://img.shields.io/badge/Kotlin_language-1.5-blue?logo=kotlin
[kotlin-native]: https://kotlinlang.org/docs/native-overview.html
[kotlin/js]: https://kotlinlang.org/docs/js-overview.html
[kotlin/jvm]: https://kotlinlang.org/docs/jvm-get-started.html
[kotlinx.serialization]: https://github.com/Kotlin/kotlinx.serialization
[kotlinx.serialization-badge]: https://img.shields.io/badge/kotlinx.serialization-1.5.1-blue
[kotools-types-badge]: https://img.shields.io/maven-central/v/org.kotools/types?label=Latest
[kotools-types-project]: https://github.com/kotools/types
[linux-x64-platform-badge]: https://img.shields.io/badge/Platform-Linux_x64-4b4bff
[macos-x64-platform-badge]: https://img.shields.io/badge/Platform-macOS_x64-4b4bff
[macos-arm64-platform-badge]: https://img.shields.io/badge/Platform-macOS_arm64-4b4bff
[mingw-x64-platform-badge]: https://img.shields.io/badge/Platform-MinGW_x64-4b4bff
## ð Introduction
Kotools Types is not just a library; it's your gateway to seamless and
expressive type manipulation in Kotlin projects.
Dive into a world where types are your allies, providing clarity, safety, and
flexibility across diverse Kotlin platforms.
## âï¸ Key Features
- **Unified Type Handling:** Embrace a unified approach to handling types across
platforms, ensuring consistency in your Kotlin/JVM, Kotlin/JS, and Kotlin
Native projects.
- **Enhanced Type Safety:** Fortify your code with explicit types, catching
errors at compile time to create robust and reliable applications.
- **Automatic Serialization:** Seamlessly serialize and deserialize types using
[kotlinx.serialization], making data interchange between platforms, APIs,
databases and libraries a breeze.
## ð ï¸ Installation
You can add Kotools Types to your project by using Gradle or Maven.
Just replace the `$version` or the `${kotools.types.version}` variables by the
[latest version](#kotools-types) or by another one available in the
[changelog](CHANGELOG.md).
<details open>
<summary>Gradle - Kotlin DSL</summary>
```kotlin
implementation("org.kotools:types:$version")
```
</details>
<details>
<summary>Gradle - Groovy DSL</summary>
```groovy
implementation "org.kotools:types:$version"
```
</details>
<details>
<summary>Maven</summary>
```xml
<dependencies>
<dependency>
<groupId>org.kotools</groupId>
<artifactId>types</artifactId>
<version>${kotools.types.version}</version>
</dependency>
</dependencies>
```
</details>
## ð¨ Included types
Explore some of the types offered by this library:
- [NotBlankString][kotools.types.text.NotBlankString] ensuring that your strings
have at least one character excluding whitespaces.
- [PositiveInt][kotools.types.number.PositiveInt] representing an integer number
of type [Int][kotlin.Int] that is greater than or equals zero.
- [NotEmptyList][kotools.types.collection.NotEmptyList] for grouping your data
in a list with at least one element.
See the [API reference](https://types.kotools.org) for more types!
[kotlin.Int]: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int
[kotools.types.collection.NotEmptyList]: https://types.kotools.org/-kotools%20-types/kotools.types.collection/-not-empty-list/index.html
[kotools.types.number.PositiveInt]: https://types.kotools.org/-kotools%20-types/kotools.types.number/-positive-int/index.html
[kotools.types.text.NotBlankString]: https://types.kotools.org/-kotools%20-types/kotools.types.text/-not-blank-string/index.html
## ð Documentation
Here's additional documentation for learning more about this project:
- [Design goals](documentation/design-goals.md)
- [Versioning strategy](documentation/versioning-strategy.md)
- [Dependency compatibility](documentation/dependencies.md)
- [Declarations lifecycle](documentation/declarations-lifecycle.md)
- [Security Policy](SECURITY.md)
## ð¤ Community
Join our thriving community! Connect, share insights, and collaborate with
fellow developers to make Kotools Types even more powerful.
- [GitHub Discussions](https://github.com/kotools/types/discussions)
- [#kotools-types on Kotlin Slack](https://kotlinlang.slack.com/archives/C05H0L1LD25)
## ð£ Show Your Support
If you find this project valuable, show your support by giving us a âï¸ on
GitHub.
Your feedback and engagement mean the world to us!
## ð§ Contributing
As an Open-Source project, Kotools Types is in need of new contributors!
We have issues suited for all levels, from entry to advanced.
All are welcome in this project.
If you are looking to contribute, check out our
[contribution guidelines](CONTRIBUTING.md) for more details on how to get
started.
## ð Acknowledgements
Thanks to [Loïc Lamarque](https://github.com/LVMVRQUXL) for creating and sharing
this project with the open source community.
Thanks to all the [people that ever contributed](https://github.com/kotools/types/graphs/contributors)
through code or other means such as bug reports, feature suggestions and so on.
## ð License
This project is licensed under the [MIT License](LICENSE.txt).
---
Happy coding with Kotools Types! ð
没有合适的资源?快使用搜索试试~ 我知道了~
Kotlin多平台库提供显式类型 (Kotlin multiplatform library providing explici
共161个文件
kt:66个
md:27个
url:21个
需积分: 5 0 下载量 85 浏览量
2024-03-28
11:30:53
上传
评论
收藏 243KB ZIP 举报
温馨提示
Kotlin多平台库提供显式类型。(Kotlin multiplatform library providing explicit types.,) 说明:Kotlin多平台库提供显式类型。, (Kotlin multiplatform library providing explicit types.,) 文件列表: .editorconfig (521, 2023-12-19) .run/ (0, 2023-12-19) .run/All tests.run.xml (941, 2023-12-19) .run/Check API binaries.run.xml (950, 2023-12-19) .run/Documentation.run.xml (958, 2023-12-19) .run/Dump API binaries.run.xml (948, 2023-12-19) .run/JS tests.run.xml (938, 2023-12-19) .run/JVM checks.run.xml (1085, 2023-12-19) .run/JVM tests.ru
资源推荐
资源详情
资源评论
收起资源包目录
Kotlin多平台库提供显式类型 (Kotlin multiplatform library providing explici (161个子文件)
types.api 22KB
gradlew.bat 3KB
diagrams.drawio 44KB
.editorconfig 539B
.gitignore 1KB
gradlew 8KB
gradle-wrapper.jar 42KB
StrictlyNegativeDoubleTest.java 6KB
EmailAddressTest.java 2KB
PositiveIntTest.java 2KB
NegativeIntTest.java 2KB
NonZeroIntTest.java 2KB
AnyIntFactoryTest.java 501B
NotEmptyMap.kt 13KB
NotEmptyMapTest.kt 13KB
EmailAddress.kt 12KB
StrictlyNegativeDouble.kt 11KB
StrictlyNegativeDoubleTest.kt 11KB
NotEmptySetTest.kt 11KB
NotEmptyListTest.kt 11KB
NotEmptyList.kt 10KB
NotEmptySet.kt 10KB
StrictlyPositiveDoubleTest.kt 9KB
PositiveInt.kt 8KB
NegativeInt.kt 8KB
NegativeIntTest.kt 8KB
PositiveIntTest.kt 8KB
NonZeroInt.kt 8KB
EmailAddressTest.kt 8KB
StrictlyPositiveIntTest.kt 8KB
NotBlankString.kt 8KB
StrictlyNegativeIntTest.kt 7KB
NotBlankStringTest.kt 7KB
StrictlyNegativeInt.kt 7KB
StrictlyPositiveInt.kt 7KB
ContextTest.kt 7KB
NonZeroIntTest.kt 6KB
Documentation.kt 6KB
AnyIntTest.kt 6KB
AnyInt.kt 5KB
Context.kt 5KB
ErrorMessage.kt 4KB
Annotations.kt 4KB
StrictlyPositiveDouble.kt 4KB
ZeroIntTest.kt 3KB
Multiplatform.kt 3KB
ZeroInt.kt 2KB
NotEmptyCollection.kt 2KB
Annotations.kt 2KB
Publication.kt 2KB
NotEmptyCollectionTest.kt 2KB
Serializers.kt 2KB
Errors.kt 2KB
AnyIntFactory.kt 1KB
StrictlyNegativeInt.kt 1KB
StrictlyPositiveInt.kt 1KB
NegativeInt.kt 1KB
PositiveInt.kt 1KB
NonZeroInt.kt 1KB
Assertions.kt 898B
AnyInt.kt 841B
AnyIntFactoryTest.kt 756B
NonZeroIntTest.kt 747B
Base.kt 729B
StrictlyNegativeIntTest.kt 665B
StrictlyPositiveIntTest.kt 665B
Print.kt 594B
NegativeIntTest.kt 585B
PositiveIntTest.kt 585B
Env.kt 532B
KotoolsTypesVersion.kt 505B
AnyIntTest.kt 452B
KotoolsTypesPackageTest.kt 412B
Failures.kt 404B
AnyX.kt 393B
TaskGroup.kt 347B
KClassX.kt 333B
KotoolsTypesPackage.kt 324B
TaskX.kt 233B
build.gradle.kts 2KB
build.gradle.kts 853B
build.gradle.kts 644B
settings.gradle.kts 637B
build.gradle.kts 381B
settings.gradle.kts 196B
yarn.lock 100KB
CONTRIBUTING.md 7KB
README.md 6KB
CHANGELOG.md 6KB
CODE_OF_CONDUCT.md 5KB
declarations-lifecycle.md 2KB
versioning-strategy.md 2KB
design-goals.md 2KB
dependencies.md 2KB
release.md 1KB
native-target.md 1KB
java-compatibility.md 1KB
deleting-declaration.md 957B
experimental-declaration.md 909B
deprecating-declaration-hidden.md 865B
共 161 条
- 1
- 2
资源评论
YG亲测源码屋
- 粉丝: 449
- 资源: 1700
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功