@zxcvbn-ts/language-nl-be

The Dutch Belgian language package for zxcvbn-ts

Usage no npm install needed!

<script type="module">
  import zxcvbnTsLanguageNlBe from 'https://cdn.skypack.dev/@zxcvbn-ts/language-nl-be';
</script>

README

@zxcvbn-ts/language-nl-be

Contains Dutch words specific to Belgium and common Dutch words

Install

npm:

npm install @zxcvbn-ts/language-nl-be --save

yarn:

yarn add @zxcvbn-ts/language-nl-be

Setup

import { zxcvbn, ZxcvbnOptions } from '@zxcvbn-ts/core'
import zxcvbnCommonPackage from '@zxcvbn-ts/language-common'
import zxcvbnNlBePackage from '@zxcvbn-ts/language-nl-be'

const password = 'somePassword'
const options = {
  translations: zxcvbnNlBePackage.translations,
  dictionary: {
    ...zxcvbnCommonPackage.dictionary,
    ...zxcvbnNlBePackage.dictionary,
  },
}
ZxcvbnOptions.setOptions(options)

zxcvbn(password)

Sources

First and last names (open data) from statbel https://statbel.fgov.be/nl/themas/bevolking/namen-en-voornamen/voornamen-van-meisjes-en-jongens#panel-13 https://statbel.fgov.be/nl/themas/bevolking/namen-en-voornamen/familienamen#figures