ogham
Version:
convert an input string to its Ogham equivalent
129 lines (128 loc) • 1.89 kB
JavaScript
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
exports.default = {
// These are the standard 20 characters in ogham
individual: {
' ': {
char: ' ',
code: 5760
},
b: {
char: 'ᚁ',
code: 5761
},
l: {
char: 'ᚂ',
code: 5762
},
f: {
char: 'ᚃ',
code: 5763
},
s: {
char: 'ᚄ',
code: 5764
},
n: {
char: 'ᚅ',
code: 5765
},
h: {
char: 'ᚆ',
code: 5766
},
d: {
char: 'ᚇ',
code: 5767
},
t: {
char: 'ᚈ',
code: 5768
},
c: {
char: 'ᚉ',
code: 5769
},
q: {
char: 'ᚊ',
code: 5770
},
m: {
char: 'ᚋ',
code: 5771
},
g: {
char: 'ᚌ',
code: 5772
},
z: {
char: 'ᚎ',
code: 5774
},
r: {
char: 'ᚏ',
code: 5775
},
a: {
char: 'ᚐ',
code: 5776
},
o: {
char: 'ᚑ',
code: 5777
},
u: {
char: 'ᚒ',
code: 5778
},
e: {
char: 'ᚓ',
code: 5779
},
i: {
char: 'ᚔ',
code: 5780
},
p: {
char: 'ᚚ',
code: 5786
}
},
// These are part of the aicme forfeda and are treated as opt-in by the module
// https://en.wikipedia.org/wiki/Forfeda#The_aicme_forfeda
combination: {
ea: {
char: 'ᚕ',
code: 5781
},
oi: {
char: 'ᚖ',
code: 5782
},
ui: {
char: 'ᚗ',
code: 5783
},
// ng: {
// char: "ᚍ",
// code: 5773
// },
ia: {
char: 'ᚘ',
code: 5784
},
ae: {
char: 'ᚙ',
code: 5785
}
},
head: {
char: '᚛',
code: 5787
},
tail: {
char: '᚜',
code: 5788
}
};
//# sourceMappingURL=ogham-symbols.js.map