Skip to main content
Module

x/written/test_deps.ts>written.Language

A set of utilities for manipulating text, with a focus on providing typographic tools rather than pure string manipulation.
Latest
interface written.Language
import { type written } from "https://deno.land/x/written@v0.2.2/test_deps.ts";
const { Language } = written;

A language is described in the object. None of the properties are required and will be gracefully replaced by their english counterparts

Properties

noncaps: RegExp

A regex that matches words which should not be capitalised

cardinals: { written: Written[]; }

Cardinal letters

ordinals: { written: Written[]; rule: RegExp; suffixes: Record<string, Written>; }

Ordinal letters