JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 212138
  • Score
    100M100P100Q185820F
  • License MIT

The common language package for zxcvbn-ts

Package Exports

  • @zxcvbn-ts/language-common
  • @zxcvbn-ts/language-common/dist/index.esm.js
  • @zxcvbn-ts/language-common/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@zxcvbn-ts/language-common) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@zxcvbn-ts/language-common

The common dictionary and language package for zxcvbn-ts

Install

npm:

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

yarn:

yarn add @zxcvbn-ts/language-common

Setup

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

const password = 'somePassword'
const options = {
  ...zxcvbnCommonPackage,
}

zxcvbnOptions.setOptions(options)

zxcvbn(password)