[go: up one dir, main page]

@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)

Package Sidebar

Install

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

Weekly Downloads

5,141

Version

3.0.2

License

MIT

Unpacked Size

2.65 MB

Total Files

39

Last publish

Collaborators

  • mrwook