toCamelCase

import { toCamelCase } from "jsr:@ende/text";

function

function toCamelCase(input: string): string

Converts a string into camelCase.

input: string

The string that is going to be converted into camelCase

Returns

The string as camelCase

Example: Usage

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

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

Source