Skip to content

๐Ÿ”ฎ Convert text written in the latin alphabet to runes in elder futhark.

License

Notifications You must be signed in to change notification settings

fbosch/rune-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

24 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Build Status

rune-converter

a small node package for converting text to the runic alphabet

Installation

npm install rune-converter

Usage

  import transcribe from 'rune-converter'

Functions

transcribe(str, options)

transcribe() is the default function to convert a given string to elder futhark.

Arguments

  • 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 แ›ซ

Examples

  var str = 'Lorem ipsum dolor sit amet.'

  transcribe(str) // แ›šแ›Ÿแšฑแ›–แ›—แ›ฌแ›แ›ˆแ›‹แšขแ›—แ›ฌแ›žแ›Ÿแ›šแ›Ÿแšฑแ›ฌแ›‹แ›แ›แ›ฌแšจแ›—แ›–แ›แ›ญ

  transcribe(str, { punctuation: 'single' }) // แ›šแ›Ÿแšฑแ›–แ›—แ›ฌแ›แ›ˆแ›‹แšขแ›—แ›ฌแ›žแ›Ÿแ›šแ›Ÿแšฑแ›ฌแ›‹แ›แ›แ›ฌแšจแ›—แ›–แ›แ›ซ

  transcribe(str, { spacing: 'normal' }) // แ›šแ›Ÿแšฑแ›–แ›— แ›แ›ˆแ›‹แšขแ›— แ›žแ›Ÿแ›šแ›Ÿแšฑ แ›‹แ›แ› แšจแ›—แ›–แ›แ›ญ

About

๐Ÿ”ฎ Convert text written in the latin alphabet to runes in elder futhark.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published