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

3.0.2 • Public • Published

@zxcvbn-ts/language-it

The Italian dictionary and language package for zxcvbn-ts

Install

npm:

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

yarn:

yarn add @zxcvbn-ts/language-it

Setup

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

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

zxcvbnOptions.setOptions(options)

zxcvbn(password)

Package Sidebar

Install

npm i @zxcvbn-ts/language-it

Weekly Downloads

6,088

Version

3.0.2

License

MIT

Unpacked Size

3.39 MB

Total Files

39

Last publish

Collaborators

  • mrwook