0.0.9-2023.1.1 • Published 3 months ago

@itentialopensource/to-special-case v0.0.9-2023.1.1

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
3 months ago

Deprecation Notice

This Pre-Built has been deprecated as of 01-15-2024 and will be end of life on 01-15-2025. The capabilities of this Pre-Built have been replaced by the IAP - Data Manipulation

To Special Case

Table of Contents

Overview

This Pre-Built consists of a JST that takes in words separated by whitespace and converts them to camelCase, PascalCase, kebab-case, and snake_case.

Installation Prerequisites

Users must satisfy the following pre-requisites:

  • Itential Automation Platform
    • ^2022.1.x

Future Enhancements

  • Converting words with a non-whitespace seperator into alternate cases

How to Install

To install the Pre-Built:

  • Verify you are running a supported version of the Itential Automation Platform (IAP) as listed above in the Requirements section in order to install the Pre-Built.
  • The Pre-Built can be installed from within App-Admin_Essential. Simply search for the name of your desired Pre-Built and click the install button.

How to Run

In order to run this JST, add the appropriate JST task onto the workflow, then search for "toSpecialCase" and assign values to the incoming variable, incomingString.

Examples

Input

{
  "incomingString": "foo bar foobar"
}

Output

{
  "toCamelCase": "fooBarFoobar",
  "toSnakeCase": "foo_bar_foobar",
  "toKebabCase": "foo-bar-foobar",
  "toPascalCase": "FooBarFoobar"
}

Additional Information

Please use your Itential Customer Success account if you need support when using this Pre-Built.

0.0.6-2021.2.1

3 months ago

0.0.8

3 months ago

0.0.9-2023.1.1

3 months ago

0.0.7-2022.1.1

3 months ago

0.0.8-2023.1.0

11 months ago

0.0.7

12 months ago