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

3.0.2 • Public • Published

@zxcvbn-ts/language-pt-br

The Brazilian portuguese dictionary and language package for zxcvbn-ts

Install

npm:

npm install @zxcvbn-ts/language-pt-br --save

yarn:

yarn add @zxcvbn-ts/language-pt-br

Setup

import zxcvbn from '@zxcvbn-ts/core'
import * as zxcvbnCommonPackage from '@zxcvbn-ts/language-common'
import * as zxcvbnPtBrPackage from '@zxcvbn-ts/language-pt-br'

const password = 'somePassword'
const options = {
  translations: zxcvbnPtBrPackage.translations,
  dictionary: {
    ...zxcvbnCommonPackage.dictionary,
    ...zxcvbnPtBrPackage.dictionary,
  },
}

zxcvbn(password, options)

/@zxcvbn-ts/language-pt-br/

    Package Sidebar

    Install

    npm i @zxcvbn-ts/language-pt-br

    Weekly Downloads

    7,252

    Version

    3.0.2

    License

    MIT

    Unpacked Size

    2.65 MB

    Total Files

    39

    Last publish

    Collaborators

    • mrwook