Skip to main content
variable toCamelCase
import { toCamelCase } from "https://deno.land/x/30_seconds_of_typescript@v1.0.1/util.ts";

Converts a string to camelcase.

Break the string into words and combine them capitalizing the first letter of each word, using a regexp.

type

(str: string) => unknown