Function toCamelCase

  • Converts a string into camelCase.

    Parameters

    • input: string

      The string that is going to be converted into camelCase

    Returns string

    The string as camelCase

    import { toCamelCase } from "@std/text/to-camel-case";
    import { assertEquals } from "@std/assert";

    assertEquals(toCamelCase("deno is awesome"),"denoIsAwesome");