1.0.1 • Published 4 years ago

old-norse-ordbok v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Old Norse Orðbók

Old Norse dictionary for Node.js. Scraped from an online dictonary.

Literal meaning: orð = word, bók = book.

Examples

Install

yarn add old-norse-ordbok

Usage

Orðbók scrapes the dictionary data using Puppeteer. The dictionary comes in two forms: either Old Norse -> English, or English -> Old Norse. The versions are not identical nor do they contain the same amount of words. This is a feature in the source material.

Old Norse -> English: 4589 words. English -> Old Norse: 7712 words.

Words are returned in array of:

{
    word: String,
    definition: String,
    type: String,
    gender: String,
    branch: String,
}

Get dictionary data:

const { oldNorseToEnglish, englishToOldNorse } = require('old-norse-ordbok')

const oldNorse = await oldNorseToEnglish()
const english = await englishToOldNorse()

console.log(oldNorse)
console.log(english)

Sources

Scraped from word list compiled by Vikings of Bjornstad. The sources for the compiled list come from:

1.0.1

4 years ago

1.0.0

4 years ago

0.9.1

4 years ago

0.9.0

4 years ago