Wondering what‚Äôs next for npm?Check out our public roadmap! ¬Ľ

    dictionary-de-ch

    2.0.4¬†‚Äʬ†Public¬†‚Äʬ†Published

    dictionary-de-ch

    German (Switzerland) spelling dictionary in UTF-8.

    Useful with hunspell, nodehun, nspell, Open Office, LibreOffice, Firefox and Thunderbird, or macOS.

    Generated by dictionaries from j3e.de.

    Install

    npm:

    npm install dictionary-de-ch

    Use

    var deCh = require('dictionary-de-ch')
     
    deCh(function (err, result) {
      console.log(err || result)
    })

    Yields:

    {dic: <Buffer>, aff: <Buffer>}

    Where dic is a Buffer for the dictionary file at index.dic (in UTF-8) and aff is a Buffer for the affix file at index.aff (in UTF-8).

    Or directly load the files, using something like:

    var path = require('path')
    var base = require.resolve('dictionary-de-ch')
     
    fs.readFileSync(path.join(base, 'index.dic'), 'utf-8')
    fs.readFileSync(path.join(base, 'index.aff'), 'utf-8')

    License

    Dictionary and affix file: (GPL-2.0 OR GPL-3.0). Rest: MIT © Titus Wormer.

    Install

    npm i dictionary-de-ch

    DownloadsWeekly Downloads

    148

    Version

    2.0.4

    License

    (GPL-2.0 OR GPL-3.0)

    Unpacked Size

    1.14 MB

    Total Files

    6

    Last publish

    Collaborators

    • avatar