Subjekt is a Kotlin Multiplatform library to generate permutations of results from a YAML/JSON configuration.
It can be configured to handle multiple parameters and utility functions and generate all the possible permutations of their values when they are used in the code.
At the moment, Subjekt has Kotlin Multiplatform has a primary target, but before version 2.0.0 it was a JVM only library.
Some of the platform-specific functionalities that were previously available could be missing right now, for example external modules and automatic code linting via ktlint.
In future updates these will be made available on all platforms.
You can include Subjekt as a maven dependency by simply adding this to your build.gradle.kts:
implementation("io.github.subjekt:subjekt:<LATEST_VERSION>")Or, if you want, you can also use it in your node project by running:
npm i @mini-roostico/subjektTo learn how to use Subjekt, please take a look at the website