Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Transform latin letters to Elder Futhark runes & vice versa

License

Notifications You must be signed in to change notification settings

stscoundrel/elder-futhark

Repository files navigation

Elder Futhark

Transform latin letters to Elder Futhark 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 elder-futhark

Usage

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

Latin text to runes:

import { lettersToRunes } from 'elder-futhark'

// Proto-norse text from 4th century axe in Jutland
const result = lettersToRunes('wagagastiz alu wihgu sikijaz aiþalataz')

console.log(result) // ᚹᚨᚷᚨᚷᚨᛋᛏᛁᛉ:ᚨᛚᚢ:ᚹᛁᚻᚷᚢ:ᛋᛁᚲᛁᛃᚨᛉ:ᚨᛁᚦᚨᛚᚨᛏᚨᛉ

Runes to latin text:

import { runesToLetters } from 'elder-futhark'

const result = runesToLetters('ᚠᚢᚦᚨᚱᚲ')

console.log(result) // fuþark

About Elder Futhark

The Elder Futhark, also known as the Older Futhark, is the oldest form of the runic alphabets. It was a writing system used by Germanic peoples for Northwest Germanic dialects in the Migration Period. It was used to write Proto-Norse language, predecessor of Old Norse.

In Scandinavia it later evolved to simplified Younger Futhark.