Skip to main content
Go to Latest
function fixWidth
import { fixWidth } from "https://deno.land/x/simple_utility@v1.3.5/mod.universal.ts";

Convert half-width Japanese kana to full-width and full-width alphanumeric symbols to half-width.

Examples

Example 1

const text = "1+1=2";
const formated = fixWidth(text);

Parameters

data: string