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

3.0.2 • Public • Published

@zxcvbn-ts/language-es-es

The European Spanish dictionary and language package for zxcvbn-ts

Install

npm:

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

yarn:

yarn add @zxcvbn-ts/language-es-es

Setup

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

const password = 'somePassword'
const options = {
  translations: zxcvbnEsEsPackage.translations,
  graphs: zxcvbnCommonPackage.adjacencyGraphs,
  dictionary: {
    ...zxcvbnCommonPackage.dictionary,
    ...zxcvbnEsEsPackage.dictionary,
  },
}

zxcvbnOptions.setOptions(options)

zxcvbn(password)

/@zxcvbn-ts/language-es-es/

    Package Sidebar

    Install

    npm i @zxcvbn-ts/language-es-es

    Weekly Downloads

    9,279

    Version

    3.0.2

    License

    MIT

    Unpacked Size

    3.93 MB

    Total Files

    39

    Last publish

    Collaborators

    • mrwook