Skip to main content
Module

x/case_style/mod.ts>format

A string validator and formater for case Style
Latest
function format
import { format } from "https://deno.land/x/case_style@0.1.0/mod.ts";

Format the string into the caseStyle wanted

Parameters

str: string

String to format

style: caseStyle

caseStyle to format the string into TODO (zekth): handle diacritics

Returns

string