/case-converter

Utility class to change between different naming conventions

Primary LanguageJavaBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Service buses

CI workflow Release workflow semantic-release: conventional-commits

Utility class to change between different naming conventions.

Usage

import static com.montealegreluis.caseconverter.CaseConverter.camelCaseToKebabCase;
import static com.montealegreluis.caseconverter.CaseConverter.camelCaseToSentence;

public class Application {
  public static void main(String[] args) {
    System.out.println(camelCaseToKebabCase("ParseXMLDocument")); // parse-xml-document
    System.out.println(camelCaseToSentence("PurchaseTickets")); // Purchase tickets
  }
}

Installation

  1. Authenticating to GitHub Packages
  2. Maven
  3. Gradle

Contribute

Please refer to our contribution guidelines for more details on how to contribute to this project.

License

Released under the BSD-3-Clause.