Skip to content

vishna/string-code-ktx

Repository files navigation

string-code-ktx

string-code-ktx is a set of String Kotlin extensions related to template based code generation.

Getting started

This repository is hosted via jitpack since it's by far the easiest delivery method while also being pretty transparent to the developer.

Make sure you have added jitpack to the list of your repositories:

maven("https://jitpack.io")

Then simply add the mvel-ktx dependency

dependencies {
    compile("com.github.vishna:string-code-ktx:master-SNAPSHOT")
}

Example usage

val className  = "main_activity".camelize()

print(className) // prints "MainActivity"

For more documentation on API see string_code.kt and for more use examples see string_code_tests.kt

About

Kotlin String Extensions related to code formatting/generation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages