Niok provides a Kotlin idiomatic API for java.nio.file (the package for non-blocking I/O file operations).
We believe that using Files
decreases readability => extension functions to the rescue ๐
Next to providing delegations to Files
it also delegates to Kotlin's built in extension functions for File
.
Niok is pusblished to maven central, jcenter and bintray. Following an example if you use gradle and jcenter:
repositories { jcenter() }
dependencies {
implementation 'ch.tutteli.niok:niok:1.3.4'
}
accordingly you can use niok-android
as artifactId instead of niok
if you want to use it in an android project.
You found a bug, a delegation to Files
is missing or there is something else you would like to improve?
Please open an issue, contributions are more than welcome ๐
Niok is licensed under Apache 2.0.