a small node package for converting text to the runic alphabet
npm install rune-converter
import transcribe from 'rune-converter'
transcribe()
is the default function to convert a given string to elder futhark.
- str (String) - the string you wish to convert
- options (Object) - options that determine the conversion of the string
-
punctuation - determines what symbol to transcribe ' . ' to
key value cross (default) แญ double แฌ single แซ -
spacing - determines what symbol to transcribe spacing to
key value normal whitespace
cross แญ double (default) แฌ single แซ
-
var str = 'Lorem ipsum dolor sit amet.'
transcribe(str) // แแแฑแแแฌแแแแขแแฌแแแแแฑแฌแแแแฌแจแแแแญ
transcribe(str, { punctuation: 'single' }) // แแแฑแแแฌแแแแขแแฌแแแแแฑแฌแแแแฌแจแแแแซ
transcribe(str, { spacing: 'normal' }) // แแแฑแแ แแแแขแ แแแแแฑ แแแ แจแแแแญ