Function camelize

  • Transforms a text into its camel-case form, i.e.:

    import { camelize } form '@amjs/js-utils';
    console.log(camelize('hello-world')); // "helloWorld"

    Parameters

    • text: string

      To be transformed

    Returns string

    camel-case form

    If {text} is not a valid string