0.10.1 • Published 2 years ago

viking-language-dictionary v0.10.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Viking Language Dictionary

Old Norse Dictionary for Node.js. Over 2800 Old Norse words with English translations.

Based on "Viking Language" book by Jesse L. Byock

Install

yarn add viking-language-dictionary

Usage
import { getDictionary } from 'viking-language-dictionary'

// Get an array of all dictionary entries.
const dictionary = getDictionary()

// Manipulate data as you wish -> perhaps get all words staring with 'o'
const oWords = dictionary.filter((entry) => entry.headword.charAt(0) === 'o')

// Or output a single word:
console.log(dictionary[8])
// {
//     "headword": "afbragð",
//     "definition": "n outstanding example; afbragð þeira manna allra the most outstanding of all those men",
//     "isCommon": false
// }

Individual words are returned in format of:

{
    headword: string;
    definition: string;
    isCommon: boolean; // tells if word is among the 260 most common Old Norse words.
}

About "Viking Language"

"Viking Language" is a book series by Jesse L. Byock, which teaches basics of Old Norse language. The books are accompanied by a small dictionary at the end, providing learners a place to look for translations of the books passages.

This library is sourced from a blog post by the books publisher, Jules William Press.

0.10.1

2 years ago

0.10.0

2 years ago

0.9.1

2 years ago

0.9.0

2 years ago