Skip to content

robstoll/niok

Repository files navigation

Download Apache license Build Status Ubuntu Build Status Windows SonarCloud Status

Niok - java.nio.file for Kotlin

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 and provides additional functions.

Installation

Niok is published to maven central. Following an example how to use it

repositories { mavenCentral() }
dependencies {
    implementation("ch.tutteli.niok:niok:1.5.0")
}

Documentation

Visit https://robstoll.github.io/niok/kdoc.

Contribute

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 👍

License

Niok is licensed under Apache 2.0.