@zxcvbn-ts/language-de
TypeScript icon, indicating that this package has built-in type declarations

3.0.2 • Public • Published

@zxcvbn-ts/language-de

The German dictionary and language package for zxcvbn-ts

Installation

npm:

npm install @zxcvbn-ts/language-de --save

yarn:

yarn add @zxcvbn-ts/language-de

Setup

import { zxcvbn, zxcvbnOptions } from '@zxcvbn-ts/core'
import * as zxcvbnCommonPackage from '@zxcvbn-ts/language-common'
import * as zxcvbnDePackage from '@zxcvbn-ts/language-de'

const password = 'somePassword'
const options = {
  translations: zxcvbnDePackage.translations,
  graphs: zxcvbnCommonPackage.adjacencyGraphs,
  dictionary: {
    ...zxcvbnCommonPackage.dictionary,
    ...zxcvbnDePackage.dictionary,
  },
}
zxcvbnOptions.setOptions(options)

zxcvbn(password)

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @zxcvbn-ts/language-de

      Weekly Downloads

      18,383

      Version

      3.0.2

      License

      MIT

      Unpacked Size

      4.28 MB

      Total Files

      39

      Last publish

      Collaborators

      • mrwook