nuǝɯ pǝɥsᴉꞁod mǝu
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

dictionary-nl

1.3.0 • Public • Published

dictionary-nl

Dutch (or Flemish) spelling dictionary in UTF-8.

Useful with hunspell (node bindings or plain javascript), Open Office, LibreOffice, FireFox and Thunderbird, or place them in ~/Library/Spelling on OS X.

Generated by wooorm/dictionaries, from this dictionary.

Installation

npm:

npm install dictionary-nl

Usage

var nl = require('dictionary-nl');
 
nl(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-nl');
 
// NEVER USE `readFileSync` IN PRODUCTION.
fs.readFileSync(path.join(base, 'index.dic'), 'utf-8');
fs.readFileSync(path.join(base, 'index.aff'), 'utf-8');

License

Dictionary and affix file: (BSD-3-Clause OR CC-BY-3.0). Rest: MIT © Titus Wormer.

install

npm i dictionary-nl

Downloadsweekly downloads

5

version

1.3.0

license

(BSD-3-Clause OR CC-BY-3.0)

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability