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 { ZxcvbnFactory } from '@zxcvbn-ts/core'
import * as zxcvbnCommonPackage from '@zxcvbn-ts/language-common'
const password = 'somePassword'
const options = {
...zxcvbnCommonPackage,
}
const zxcvbn = new ZxcvbnFactory(options)
zxcvbn.check(password)