1.2.5 • Published 10 months ago

old-norse-alphabet v1.2.5

Weekly downloads
46
License
MIT
Repository
github
Last release
10 months ago

Old Norse Alphabet

Old Norse alphabet alphabet constants for JS.

Motivation

Old Norse constains letters that may be hard to type with most keyboards. Prime examples being þ, ð and ǫ. There are also some letters "missing", like c and q. This package offers the alphabet & tricky individual letters as JS constants.

Install

npm install old-norse-alphabet

Usage

Letter lists:

const {
  ALPHABET,
  LOWER_CASE,
  UPPER_CASE,
  VALID_AS_FIRST,
} = require('old-norse-alphabet')

console.log(LOWER_CASE)
// ['a', 'á', 'b', 'd', 'ð', 'e', 'é', 'f', 'g', 'h', 'i', 'í', 'j', 'k', 'l', 'm', 'n', 'o', 'ó', 'p', 'r', 's', 't', 'u', 'ú', 'v', 'w', 'y', 'ý', 'þ', 'æ', 'ǫ', 'ø', 'œ']

console.log(UPPER_CASE)
//['A', 'Á', 'B', 'D', 'Ð', 'E', 'É', 'F', 'G', 'H', 'I', 'Í', 'J', 'K', 'L', 'M', 'N', 'O', 'Ó', 'P', 'R', 'S', 'T', 'U', 'Ú', 'V', 'W', 'Y', 'Ý', 'Þ', 'Æ', 'Ǫ', 'Ø', 'Œ']

// Not all letters are valid as first letters.
console.log(VALID_AS_FIRST) // wont have ð

console.log(ALPHABET) // combined upper & lower case.

Individual tricky characters:

const {
  ETH,
  THORN,
  O_CAUDATA,
  ASH,
  SLASHED_O,
  OE,
  AE,
} = require('old-norse-alphabet')

console.log(ETH) // ð
console.log(THORN) // þ
console.log(O_CAUDATA) // ǫ
console.log(ASH) // æ
console.log(SLASHED_O) // ø
console.log(OE) // œ
console.log(AE) // Same as ASH, æ

About Old Norse

Old Norse was a North Germanic language that was spoken by inhabitants of Scandinavia and their overseas settlements from about the 7th to the 15th centuries.

1.2.5

10 months ago

1.2.4

2 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago