ogham
Version:
convert an input string to its Ogham equivalent
16 lines (15 loc) • 468 B
TypeScript
/**
* Interface representing options that can be passed to the convert
*/
export interface OghamOptions {
addBoundary?: boolean;
useForfeda?: boolean;
usePhonetics?: boolean;
}
/**
* Given an input of latin characters and spaces, this will return a string
* containing the corresponding ogham characters, e.g "eire" => "᚛ᚓᚔᚏᚓ᚜"
* @param text
* @param headAndTail
*/
export declare function convert(input: string, opts?: OghamOptions): string;