toPascalCase
import { toPascalCase } from "jsr:@ende/text";function
function toPascalCase(input: string): stringConverts a string into PascalCase.
input: stringThe string that is going to be converted into PascalCase
Returns
The string as PascalCase
Example: Usage
import { toPascalCase } from "@ende/text/to-pascal-case";
import { assertEquals } from "@ende/assert";
assertEquals(toPascalCase("deno is awesome"), "DenoIsAwesome");