JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 21416
  • Score
    100M100P100Q153615F
  • License MIT

The German language package for zxcvbn-ts

Package Exports

  • @zxcvbn-ts/language-de
  • @zxcvbn-ts/language-de/dist/index.cjs
  • @zxcvbn-ts/language-de/dist/index.mjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@zxcvbn-ts/language-de) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@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 { ZxcvbnFactory } 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,
  },
}
const zxcvbn = new ZxcvbnFactory(options)
zxcvbn.check(password)