Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.
/ futhork Public archive
generated from stscoundrel/typescript-template

Transform latin letters to Futhork (medieval) runes & vice versa

License

Notifications You must be signed in to change notification settings

stscoundrel/futhork

Repository files navigation

Futhork (Medieval Runes)

Transform latin letters to Futhork runes & vice versa

Deprecation notice:

This library has been discontinued in favor of Riimut. It contains same functionality for all main runic dialects. This library will also remain available in NPM and should keep working just fine.

Other runic alphabets:

Install

yarn add futhork

Usage

You can either transform runes to text, or text to runes.

Latin text to runes:

import { lettersToRunes } from 'futhork'

const result = lettersToRunes('lorem ipsum dolor sit amet')

console.log(result) // "ᛚᚮᚱᛁᛘ:ᛁᛕᛋᚢᛘ:ᚦᚮᛚᚮᚱ:ᛋᛁᛏ:ᛆᛘᛁᛏ

Runes to latin text:

import { runesToLetters } from 'futhork'

const result = runesToLetters('ᛚᚮᚱᛁᛘ:ᛁᛕᛋᚢᛘ:ᚦᚮᛚᚮᚱ:ᛋᛁᛏ:ᛆᛘᛁᛏ')

console.log(result) // lorem ipsum dolor sit amet

About Futhorc

The futhork, or the medieval runes, was a Scandinavian runic alphabet that evolved from the Younger Futhark at the end of the Viking Age. Used roughly from 12th to 17th centuries.