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

3.0.2 • Public • Published

@zxcvbn-ts/language-ja

The Japanese dictionary and language package for zxcvbn-ts

Install

npm:

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

yarn:

yarn add @zxcvbn-ts/language-ja

Setup

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

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

zxcvbnOptions.setOptions(options)

zxcvbn(password)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 3.0.2
    906
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 3.0.2
    906
  • 3.0.1
    30
  • 3.0.0
    0
  • 2.1.0
    348

Package Sidebar

Install

npm i @zxcvbn-ts/language-ja

Weekly Downloads

1,284

Version

3.0.2

License

MIT

Unpacked Size

1.17 MB

Total Files

39

Last publish

Collaborators

  • mrwook